Je zou DISTINCT
. kunnen gebruiken :
SELECT DISTINCT studid FROM registration WHERE courseid IN ('100', 101');
of GROUP BY
:
SELECT studid FROM registration WHERE courseid IN ('100', '101') GROUP BY studid;
Je zou DISTINCT
. kunnen gebruiken :
SELECT DISTINCT studid FROM registration WHERE courseid IN ('100', 101');
of GROUP BY
:
SELECT studid FROM registration WHERE courseid IN ('100', '101') GROUP BY studid;