Classic!
Just on a point of curiosity: any difference (in this specific example) between SELECT DISTINCT and GROUP BY?