select sct.sid,sct.sname from (select st.sid,st.sname,sc.student_id,sc.num from student st inner join score sc on st.sid=sc.student_id)sct where sct.num<60;
这个表其实挺有意思的名字起得有意思,
而且结果是除了一个13学号的同学只学了一课没有低于60分其他的都低于60了哈哈。
今日分享到这啦~
SQL经典50查询语句(面试题)案例
标签:tle png sel title 其他 select 别名 copy http
查看更多关于SQL经典50查询语句(面试题)案例的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did117063