Comment Comment by fnord123 alt styling SELECT a, b, COUNT(*) as count FROM table WHERE cond1 AND cond2 GROUP BY a, b ORDER BY count DESC parent fnord123 5 years ago