摘要:
3.4.3 group by 和 order by 字句的应用。 group by 子句是 根据列值分组 order by 子句是对查询结果进行排序 asc为升序 desc为降序。 group by后select 子句中间的的值在基本组中应该是唯一的 3.4.3 包含 union 的查询 (并操作) 阅读全文
摘要:
三表查询 在SQL查询中,多表中同时出现的字段,要指定表名。 select sname,course.cno,grade from student ,course,sc where stuent.sno=sc.sno and sc.cno=course.cno and year(bdate)=197 阅读全文