SQL数据库中查询前3条记录的SQL语句是()。
A. select top 3 from table
B. select * from table limit 3
C. select * from table limit 1,3
D. select * from table order 3
下面哪个聚合函数是用来求平均值?()
A. sum
B. count
C. avg
D. min
使用SQL语句删除数据库,数据库名为mytest,下列SQL语句写法是正确的是()。
A. drop mytest
B. drop table mytest
C. database mytest
D. drop database mytest
模糊查询姓张的人的查询语句书写正确的是()
A. select * from table like ‘张%’
B. select * form table where name like'_张'
C. select * form table where name like '张%'
D. select * form table where name like '%张%'