Wednesday, 17 September 2014

SQL: DISTINCT CLAUSE

The SQL DISTINCT clause is used to remove duplicates from the result set of a SELECT statement.


SYNTAX:


SELECT DISTINCT column_name,column_name
FROM table_name;

No comments:

Post a Comment