postgresHow to select unique (distinct) values from column
SELECT DISTINCT first_name FROM person;
ctrl + c
DISTINCT first_name removes duplicates from |
More of Postgres
- Create Table
- How to group resulting set by specific column values
- How to use aliases
- How to use AND / OR operators
- How to filter resulting set after grouping is done
- Order By
- How to select column which value is between two values
- Where
- How to filter column based on multiple values
See more codes...