sql - MySQL: Sum if rows are equal -
i want make sql select-query select everything, when client, thickness , material same value of 'amount' should added.
how go creating such query?

if understand correctly. this:
select     client,      thickness,     material,     sum(amount) totalamount     table1 group     client,      thickness,     material  
Comments
Post a Comment