Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql select non unique

SELECT [EmailAddress], [CustomerName] FROM [Customers] WHERE [EmailAddress] IN
  (SELECT [EmailAddress] FROM [Customers] GROUP BY [EmailAddress] HAVING COUNT(*) > 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #select #unique
ADD COMMENT
Topic
Name
3+5 =