Group selection by 48 records
select id DIV 48 as group_id, id, title, count(*) as rec_count from test group by group_id