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 :

SELECT DISTINCT column_name from table_name;

Vivek Vengala

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

Click Here to Leave a Comment Below 0 comments

Leave a Reply: