mysql> select tasks_in_subpri_bucket, priority, subpri_bucket from (select count(*) as tasks_in_subpri_bucket, priority, round(subpriority, 2) as subpri_bucket from maniphest_task group by priority, subpri_bucket order by priority, subpri_bucket) as q where tasks_in_subpri_bucket > 1;