单项选择题
以下()语句从表student中提取前5条记录。
A.select * from student where rowcount=5
B.select TOP of 5*from student
C.select TOP5 * from student
D.select * from student where rowcount<=5
点击查看答案
相关考题
-
单项选择题
现有书目表book,包含字段:price(float);现在查询一条书价最高的书目的详细信息,以下语句正确的是()。
A.select top1*from book order by price asc
B.select top1*from book order by price desc
C.select top1*from book where price
D.select top1*from book where price=max(price) -
单项选择题
下列能用于日期/时间类型的聚合函数是()
A.MAX
B.SUM
C.MONTH
D.AVG -
单项选择题
使用SQL创建多表查询要求查询中所涉及的表必须有()
A.主键
B.公共字段
C.组合键
D.以上都是
