当前位置: 答题翼 > 问答 > 远程教育 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

根据SQL标准,下面哪句语句能够找出年龄最小的同学?其中age为学生表student中的年龄字段,sno为


根据SQL标准,下面哪句语句能够找出年龄最小的同学?其中age为学生表student中的年龄字段,sno为学生的学号。()

A select max(age) from student

B select sno from student where age = max(age)

C select sno from student having age = max(age)

D select sno from student a where a.age<= (select min(b.age) from student b)

参考答案
您可能感兴趣的试题
  • 根据SQL标准,要查询表student中所有年龄age小于所有学生的平均年龄的记录,下面哪条语句适用?()

  • 根据SQL标准,删除一个表,应该使用下面哪个语句?()A DELETE TABLEB DROP TABLEC DELETE VIEWD

  • 根据SQL标准,要删除表student中所有数据,但不将表student的定义一起删除,下面哪个语句可以适用

  • 根据SQL标准,创建一个视图,应该使用下面哪个语句?()A CREATE TABLEB CREATE INDEXC CREATE VIE

  • 根据SQL标准,要修改表student中所有学生的年龄age,使之在原值基础上减一,下面哪个语句适用?()A

  • 根据SQL标准,要查询表student中平均年龄age小于21的所在系dept及其平均年龄值,下面哪条语句适