distinct

SQL DISTINCT Keyword

SQL DISTINCT Keyword

The DISTINCT keyword is used to return only distinct (different) values in the result set.

Example of DISTINCT

SELECT DISTINCT gender FROM Users;
    

This query retrieves the unique values from the "gender" column in the "Users" table.