आप DISTINCT
. का उपयोग कर सकते हैं :
SELECT DISTINCT studid FROM registration WHERE courseid IN ('100', 101');
या GROUP BY
:
SELECT studid FROM registration WHERE courseid IN ('100', '101') GROUP BY studid;
आप DISTINCT
. का उपयोग कर सकते हैं :
SELECT DISTINCT studid FROM registration WHERE courseid IN ('100', 101');
या GROUP BY
:
SELECT studid FROM registration WHERE courseid IN ('100', '101') GROUP BY studid;