Click here to Skip to main content
15,881,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
CustID Total
1 200
2 800
3 500

how to convert into


CustID 1
Total 200
CustID 2
Total 800
CustID 3
Total 500
Posted

1 solution

refer this link[^]
 
Share this answer
 
v2
Comments
Shrikesh_kale 17-Feb-15 6:56am    
first table is output of select Custid,sum(ammount) as total from Sales group by CustID

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900