The SELECT DISTINCT statement is used to return only distinct (different) values. Inside a table, a column often contains many duplicate values; and sometimes you only want to list the different (distinct) values.
BrindhaPrathaban Answered question July 5, 2023
The SQL SELECT DISTINCT Statement
- The SELECT DISTINCT statement is used to return only distinct (different) values.
- Inside a table, a column often contains many duplicate values;
- Sometimes you only want to list the different (distinct) values.
Shathana. S.R. Answered question July 5, 2023
Only distinct (different) values are returned by the SELECT DISTINCT command. A column within a table frequently has many duplicate values, and you may only wish to list the difference (distinct) values.
Vishalini.R Answered question July 5, 2023
