I have data in a table(list) as shown below,
id no1 no2 1000 0 511 1000 820 0
I need data like shown below,
simple group by with summation will work for you
SELECT ID, SUM(NO1) NO1, SUM(NO2) NO2 FROM Table1 Group by ID