...

Database Managment - Sql

Back to Course

Lesson Description


Lession - #1315 Sql Distinct Keyword


The SELECT DISTINCT statement(keyword>
is utilized to return just unmistakable (different>
values. Inside a table, a column frequently contains many copy values; and here and there you just need to list the unique (distinct>
values.



Syntax for Distinct Keyword




SELECT DISTINCT column1, column2,.....columnN 
FROM table_name
WHERE [condition]






Example:



Online compiler