ShyamSunder Posted March 16, 2018 Report Posted March 16, 2018 bhayyas....naku sql peda ga radhu...ippudu ippude leaning...yavarina koncham help cheyara Actual Data: Barcode# Name Quantity 1 ABCD 2 1 ABCD 4 3 xxxxx 3 3 xxxxx 7 4 ZZZZ 8 Required Output: Barcode# Name Quantity 1 ABCD 6 3 xxxxx 10 4 ZZZZ 8 Quote
nene_nani Posted March 16, 2018 Report Posted March 16, 2018 Select Barcode#,name, sum(Quantity) as Qty from table group by Barcode#, name order by Barcode# Quote
ShyamSunder Posted March 16, 2018 Author Report Posted March 16, 2018 12 minutes ago, nene_nani said: Select Barcode#,name, sum(Quantity) as Qty from table group by Barcode#, name order by Barcode# thx bhayya...nenus ame chesa but grp by qty kuda peta anduke raledhu mundhu Quote
Lakhan Posted March 16, 2018 Report Posted March 16, 2018 12 minutes ago, Aakupaccha_caradu said: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.