SQL Tutorial: DISTINCT

The SQL DISTINCT keyword is used in conjunction with the SELECT statement to remove your duplicate records

Syntax

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

 

Related Posts