一些比較難的SQL語句查詢

1查詢各科成績都高於90分的人。 有一張表: stu_course: mysql>select t1.stu_id,t1.no from (select stu_id,count(*) no from stu_course group by stu_id)t1 inner join (select stu_id,count(*) no from stu_course where score >=9
相關文章
相關標籤/搜索