Home >> SQL >> Distinct keyword in SQL

Distinct keyword in SQL

The DISTINCT keyword is used to only different(individual) values.

In a table, a column contains many duplicate values and you only want to list the different(individual) values.

Syntax

SELECT DISTINCT column1 FROM tablename

Post Your Comment

Next Questions
Sorting
Between
Having
Union
Union all
Exits
Not Exits
Any
All
Max
Min
Avg
Count
Sum

Copyright ©2022 coderraj.com. All Rights Reserved.