group by first 6