1
select student.姓名,sc.成绩
from student,course,sc where student.学号=sc.学号 and course.课号=sc.课号 and student.性别='女'
2
select student.姓名,sc.成绩
from student,course,sc where student.学号=sc.学号 and course.课号=sc.课号 and student.年龄=22 and course.课程名='英语'
3
select 姓名,year(getdate())-年龄 as 出生年份 from student where 性别='男'
1、 Select 成绩 From SC UNION Select 姓名,性别 From Student Where 性别="女"; 2、Select 姓名 From Student Where 年龄=22 UNION Select 成绩 From SC Where 成绩="英语" 3、Select 性别 From Student where 性别="男" Group By 性别 HAVING Year ([年龄]) 错了请纠正!