全心思齐网

SQL语句select查询学生表的性别,年龄,并将年龄改为出生日期的语句?

1 select 姓名,性别,出生日期 from 学生表 a where age in (select max(age) from 学生表 b)2 select 学号,课程编号,考试成绩 from 成绩表 where (课程编号,考试成绩) in(select 课程编号,max(考试成绩) from 成绩表 group by 课程编号)

匿名回答于2019-09-16 06:55:14


相关知识问答