SELECT job, CASE WHEN count(id)%2=1 THEN (count(id)+1)/2 WHEN count(id)%2=0 THEN count(id)/2 END AS start, CASE WHEN count(id)%2=1 THEN (count(id)+1)/2 WHEN count(id)%2=0 THEN (count(id)+2)/2 END AS ENDFROM gradeGROUP BY jobO...