【正确答案】(1)select SEX,count(*)from S group by SEX;(2)select C#,CNAME from C where FEACHER=,'LIU';(3)select SNAME from S where S# in (select S# from SC where C# notin(select C# from C where TEACHER='LIU'));(4)select SNAME,C#,GRADE from S,SC whereS.S#=SC.S# and SEX='男'。