2016-04-27 38 views

回答

1

A組的應該做你在找什麼:

SELECT srp_id, SUM(sym) 
FROM ??? 
GROUP BY srp_id 
0

,你必須使用group by

select srp_id,sum(field) from table 
group by srp_id