1SELECT DISTINCT column1, column1, ..... FROM TABLE
2/*DISTINCT WILL NOT SELECT THE SAME VALUES IN SAME COLUMN*/
1Distinct: helps to displays the non duplicate
2records when retrieving the records from a table.
3
4SELECT DISTINCT FIRST_NAME FROM VISITORS;
1DISTINCT
2- select distinct * from employees; ==> retrieves any row if it has at
3least a single unique column.
4- select distinct first_name from employees; ==> retrieves unique names
5from table. (removes duplicates)
6- select distinct count(*) from employees; retrieve number of unique rows
7if any row has at least a single unique data.