摘要:
--1.简化连接查询 select s.id,s.name,c.id,c.name from studentBB s,classes c where s.cid=c.id; --2、 left join左连接 --左连接 select s.id, s.name, c.id, c.name from 阅读全文
摘要:
--操作两组查询结果,进行交集、并集、减集运算 --1、 union和union all进行并集运算 --union 并集、不重复 select id, name from studentB where name like 'ja%' union select id, name from stude 阅读全文