查询中需要统计元组的个数时,使用()函数。
A. SUM(列名)
B. COUNT(*)
COUNT(列名)
D. AVG(列名)
在查询时,指定结果集中列的别名不能使用( )
A. 列as别名
B. 列别名
C. 别名=列
D. 别名列
请选择下面正确的SQL语句( )
A. select * from 表名 order by 列名1 and order by 列名2
B. select * from 表名 order by 列名1,列名2
C. select * from 表名 where 列1=值1 and 列2=值2
D. select * from 表名 where 列1=值1 and 列1=值2
删除表中的数据,而不删除表
A. remove
B. delete
C. truncate
D. update