sql disctinct code example
Example 1: distincct sql
SELECT DISTINCT column1, column2, ...
FROM table_name;
Example 2: DISTINCT SQL
SELECT DISTINCT column1, column1, ..... FROM TABLE
/*DISTINCT WILL NOT SELECT THE SAME VALUES IN SAME COLUMN*/
SELECT DISTINCT column1, column2, ...
FROM table_name;
SELECT DISTINCT column1, column1, ..... FROM TABLE
/*DISTINCT WILL NOT SELECT THE SAME VALUES IN SAME COLUMN*/