1.更新,事务,索引,不支持,是全表扫描2.创建表的字段类型和java类型是对应的。不支持日期类型,提供转换为字符串类型的函数。3.查询语句中,不支持having,可写嵌套的select来解决;group
by后只能是表的定义列名,不能像mysql那样可以为查询语句为逻辑处理结果声明的别名,但可为逻...
分类:
其他好文 时间:
2014-05-19 19:04:30
阅读次数:
331
比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno,
cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by
sno having sum(credit)>=3...
分类:
其他好文 时间:
2014-05-19 17:06:41
阅读次数:
218
我们在登录linux主机时,在输入完帐号和密码时,linux会先查找/etc/passwd文件中是否有这个帐号,如果没有则跳出,如果有的话,他会读取该帐号的user
ID和group ID同时该帐号的根目录和shell也读了出来。然后在去核对密码表,在/etc/shadow中找出我们刚刚输入的帐号和...
分类:
系统相关 时间:
2014-05-19 12:55:17
阅读次数:
310
//转换函数如下
int dayofyear(int year, int month, int day){
//k月份 leap判断闰年
int k, leap;
int tab[2][13] = {
{ 0,31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 },
{ 0,31, 29, 31, 30, 31, 30, 31, 31, 30,...
分类:
其他好文 时间:
2014-05-18 18:27:41
阅读次数:
278
T. E. Lawrence was a controversial figure during World War I. He was a British officer who served in the Arabian theater and led a group of Arab nationals in guerilla strikes against the Ottoman Empir...
分类:
其他好文 时间:
2014-05-18 15:17:29
阅读次数:
316
this指针只能在一个类的成员函数中调用,它表示当前对象的地址。下面是一个例子:
void Date::setMonth( int mn )
{
month = mn; // 这三句是等价的
this->month = mn;
(*this).month = mn;
}
1. this只能在成员函数中使用。
全局函数,静态函数都...
分类:
编程语言 时间:
2014-05-18 14:56:59
阅读次数:
187
【题目】
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only n...
分类:
其他好文 时间:
2014-05-18 10:22:34
阅读次数:
367
CORBA概述
CORBA(Common Object Request Broker Architecture,公共对象请求代理体系结构)是由OMG组织制订的一种标准的面向对象应用程 序体系规范。或者说 CORBA体系结构是OMG为解决分布式处理环境(DCE)中,硬件和软件系统的互连而提出的一种解决方案。
OMG:Object Management Group,对象管理组织。是一个国际化的、开...
分类:
其他好文 时间:
2014-05-18 07:07:38
阅读次数:
383
前面讲到对于中断来说,eventCombiner将INTC的输入event 4~127分为四个group,即evenCombiner的四个输出event 0~3. 这样event 0~3与event 4~127一起作为Interrupt Sector的输入。之所以这样做是因为CPU仅有12个INT输入(INT4~15),而systemEvent有4~127共124个event,所以12个CPU的I...
分类:
其他好文 时间:
2014-05-18 06:12:14
阅读次数:
304
//转换函数如下,其中通过指针同时向主函数传回月份和天数
void month_day(int year, int yearday, int *month, int *day){
//k月份,leap判断是否闰年(0非闰年1闰年)
int k, leap;
int tab[2][13] = {
{ 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30...
分类:
其他好文 时间:
2014-05-18 05:16:50
阅读次数:
262