select colour, count (*) from bricks group by colour having count (*) > 1; select colour, count (*) from bricks having count (*) > 1 group by colour;