Skip to content

count of distinct values in sql

Distinct Keyword in SQL

Distinct in SQL removes all duplicate rows and maintains only one row for a group of duplicate rows. While working with huge data there may be a situation when you have multiple duplicate records in a table. While fetching such records, you want to fetch only unique/distinct records instead of fetching duplicate records. For such type of cases, DISTINCT is an keyword in SQL/PostgreSQL. It allows to show unique and distinct values.… Read More »Distinct Keyword in SQL/PostgreSQL

Distinct Keyword in SQL/PostgreSQL