Link to home
Start Free TrialLog in
Avatar of kmccollum
kmccollumFlag for United States of America

asked on

Sum of numbers in a row and group by type

I have a table to stores the number of hours worked and the type of hours for each, I would like to get a total count of the hours worked by type.

Hours     TypeID
   8             1
   8             1
   5             2
   6             3

Result
Hours     TypeID
   16           1
    5            2
    6            3

Thank for the help
ASKER CERTIFIED SOLUTION
Avatar of ambidextrous
ambidextrous

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ambidextrous
ambidextrous

Please let me know if I am missing something...  happy to help if that query is not what you are looking for.  
Avatar of kmccollum

ASKER

Just what I was looking for, didn't think it would be so simple.

Thank You for your help