X
xywen
Unregistered / Unconfirmed
GUEST, unregistred user!
有一销售 table1 和咨询 TABLE2
TABLE1 TABLE2
TYPE PRICE TYPE ASKNUM
A 12 A 1
B 15 B 2
A 15 C 3
C 14 D 4
D 1
如何查询得到:
TYPE TOTAL-PRICE TOTAL-ASKNUM
A 17 1
B 15 2
C 14 3
D 0 5
TYPE 数量一定.