1
yangqi 2014 年 11 月 13 日 SELECT a.shoudamount, count(b.signnum) as realamount FROM table1 a
LEFT JOIN table2 b ON a.signnum=b.signnum GROUP BY a.signnum 大概应该是这个样子的 |
4
ashamp OP 原来a就是table1的代名
|
6
jtn007 2014 年 11 月 13 日 |