摘要: [TOC] #补充 ##join左右连表 ##上下连表 上下连表时,查询出的结果注意列数要相等 ###union 自动去重 ``` select sid,sname from students union select id,name from teachers ``` ###union all 不会去重 ``` select sid,sname from students union... 阅读全文
posted @ 2018-10-10 22:43 rootid 阅读(122) 评论(0) 推荐(0)