
mysql
HNSD983704669
HNU
展开
-
mysql关键字distinct笔记
tableid name1 a2 b3 c4 c5 bselect distinct name from table得到的结果是:nameabcselect distinct name, id from table结果会是:id name1 a原创 2015-06-12 14:28:51 · 697 阅读 · 0 评论 -
mysql左连接left join右连接 right join 内连接 inner join笔记
下面是例子分析表A记录如下: aID aNum 1 a20050111 2 a20050112 3 a20050113 4 a20050114 5 a20050115 表B记录如下: bID bName 1转载 2015-06-12 14:31:29 · 759 阅读 · 0 评论