摘要:
分析问题要分步,查询每一步的结果,最后连起来 例如下面有四张表让你查询 查询选修“3-105”课程的成绩高于“109”号同学成绩的所有同学的记录。 第一部,找到课程编号为3-105的记录中学号为109同学的成绩 select degree from score where cno='3-105' a 阅读全文
摘要:
1.简单查询 select * from info; select Code as '代号',name as '姓名' from info; 2.条件查询 select * from car where code = 'c002'; select * from car where brand ='b 阅读全文