Click here to Skip to main content
15,915,324 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a field name PROGRESS and its values example 10%,15%,25%

output must be 50%..

how would i do that?


thanks in advance =>
Posted
Updated 26-Feb-12 6:49am
v2
Comments
thatraja 26-Feb-12 13:30pm    
Show the Table structure & values.
Sergey Alexandrovich Kryukov 26-Feb-12 13:41pm    
Not clear.
--SA

1 solution

Use the SUM function:
SQL
SELECT SUM(PROGRESS), ...
FROM mytable
GROUP BY ...
 
Share this answer
 

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