To retrieve the distinct or unique or common value of the column from the existing created table. Then we can use a ' SELECT ' statement with DISTINCT.
The basic syntax of the SELECT statement with DISTINCT is given below –
SELECT DISTINCT column_name FROM table_name;
SELECT DISTINCT(salary) FROM employees;
Here it will retrieve a unique or common salary in the record from the employees' table.
Best learning portal that provides you great learning experience of various technologies with modern compilation tools and technique
Don't hesitate to give us a call or send us a contact form message