Answers for "how to get distinct values in sql"

SQL
2

how to get non distinct values in sql

SELECT [EmailAddress], [CustomerName] FROM [Customers] WHERE [EmailAddress] IN
  (SELECT [EmailAddress] FROM [Customers] GROUP BY [EmailAddress] HAVING COUNT(*) > 1)
Posted by: Guest on September-24-2020
14

select count of distinct values sql

SELECT COUNT (DISTINCT column-name)  FROM table-name
Posted by: Guest on March-06-2020
0

distinct in sql

SELECT DISTINCT FIRST_NAME FROM VISITORS;
Posted by: Guest on August-08-2021

Code answers related to "how to get distinct values in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language