作业帮 > 英语 > 作业

这个查询语句是 什么意思啊,帮忙翻译下

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/07/13 23:01:54
这个查询语句是 什么意思啊,帮忙翻译下
select sco.id,sco.stuNo,sco.stuName,stud.stu_college,sco.className,sco.classTime,sco.teacher,sco.depa,sco.term,sco.results from scores as sco left join info_stud as stud on sco.stuNo = stud.stu_no where 1=1 and stud.stu_class = '安全1102' order by stud.stu_pro,sco.stuNo desc
获取sco表中的id,stuNo,stuName,className,classTime,teacher,depa,term,results以及stud表中的stu_college(数据的排列顺序与段落中的顺序一致)从【scores(as为别名)别名SCO表并并入info_stud别名stud表在sco表的stuno项与stud表的stu_no项相等时】 在1=1 且 stud.stu_class 等于“安全1102”的条件下 根据stud表stu_pro项和sco表stuNo项倒序排序结果