SELECT (DISTINCT)
<veld1>, <veld2>, …, <veldN>
FROM <tabelnaam>
GROUP BY <veld1>, <veld2>, …, <veldN>
Beperken van en groepering
SELECT (DISTINCT) <veld1>, <veld2>, …, <veldN>
FROM <tabelnaam> GROUP BY <veld1>, <veld2>, …, <veldN>
HAVING COUNT(<veld>) operator <aantal>