Click here to Skip to main content
16,015,218 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a table with survey response answers. Each record has a ratee, rater, and the type of relation between ratee and rater. How do I get the count of each kind of rater per ratee?

This should be easy, but I'm under preasure and having a brain freeze.
Posted

1 solution

SELECT        Ratee, Rater, COUNT(Rater) AS RaterCount
FROM            Results
GROUP BY Ratee, Rater


How does that sound?
 
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