My thoughts;
select project,description,count(description)
from tablename
group by project,description
order by 2 asc, 3 desc
limit 3;
/*
i only get the top 3 overall. What i'd like is the top 3 per project.
any thoughts?
*/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.