单项选择题
创建一个名为‘Customers’的新表,同时要求新表中包含表‘clients’的所有记录,sql语句是()。
A.Select*into customers from clients
B.Select into customers from clients
C.Insert into customers select*from clients
D.Insert customers select*from clients
点击查看答案&解析
相关考题
-
单项选择题
执行Sql语句:select score*0.5+20as加权成绩from grade where(score*0.5+20)<60order by score*0.5+20,以下()描述是正确的。
A.错误提示:orderby子句中不能出现表达式。
B.正确执行,显示grade表中各列值,按照score由低到高排序。
C.正确执行,显示grade表中各列值,以及加权成绩列,按照score由低到高排序。
D.错误提示:where子句中不能出现表达式。 -
单项选择题
以下()说明了代码:not(付款方式=’信用卡’)or(信用卡<>’阳光卡’)的含义。
A.付款方式不能是信用卡。
B.付款方式不能是信用卡,或者信用卡是阳光卡。
C.如果付款方式是信用卡,那么信用卡不能是阳光卡。
D.付款方式是信用卡,并且信用卡不能是阳光卡。 -
多项选择题
关于Truncatetable,以下()描述是错误的。
A.Truncate table可跟Where从句,根据条件进行删除。
B.Truncate table用来删除表中所有数据。
C.触发器对Truncate table无效。
D.delete比Truncate table速度快。
