SQL DISTINCT function is used in SELECT statements, it is used to retrieve the results without duplicate values. That means SQL DISTINCT function will retrieve different values.

Sample code for SQL DISTINCT is :

[sql] SELECT DISTINCT column_name from table_name;
Vivek Vengala

Vivek Vengala is a Online Entrepreneur, Web Developer from Hyderabad India.