0 votes
in Sql by
How do we use the DISTINCT statement? What is its use?

1 Answer

0 votes
by
The DISTINCT statement is used with the SELECT statement. If the record contains duplicate values then the DISTINCT statement is used to select different values among duplicate records.

Syntax:

SELECT DISTINCT column_name(s)

 FROM table_name;

Related questions

0 votes
asked Jul 8, 2020 in Sql by Robindeniel
0 votes
asked Nov 29, 2019 in Machine Learning by SakshiSharma
...