题目内容

创建表的时候只能添加一种约束。

A. 对
B. 错

查看答案
更多问题

可以在创建表的时候添加非空约束。

A. 对
B. 错

检查约束中,要求价格大于20,表达式为()。

A. …… check (price >20)
B. …… check (price <30)
C. …… check (price between 20 and 30)
D. 都不是

默认约束中,要求地址是“山西长治”,表达式为()。

A. …… default “山西长治” for address
B. …… default for address
C. …… default “山西长治”
D. 都不是

外键约束中,外键表的lendnum和主键表的lendnum关联,表达式为()。

A. …… foreign key (lendnum) references Borrow (lendnum)
B. …… foreign key (lendnum)
C. …… foreign key references Borrow
D. 都不是

答案查题题库