DISTINCT keyword is used to return only distinct values.
Below is syntax:- Column age and Table pcdsEmp
SELECT DISTINCT age FROM pcdsEmp
Technical Interview Questions
DISTINCT keyword is used to return only distinct values.
Below is syntax:- Column age and Table pcdsEmp
SELECT DISTINCT age FROM pcdsEmp