Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
SELECT ph.Name, Count(*) From ReviewTaskResults r LEFT JOIN ReviewTaskResultTypes ph ON ph.Id = r.ReviewTaskResultTypeId Group by ph.Name