Thread
:
List all customers whose name is present more than once in the table?
View Single Post
#
2
(
permalink
)
05-24-2006, 12:01 AM
alexfr
Junior Member
Join Date: May 2006
Posts: 24
MySQL
answer.
Re: List all customers whose name is present more than once in the table?
[sql]SELECT count(*), name
FROM customers
GROUP BY name
HAVING (count(*)>=2)[/sql]
alexfr
View Public Profile
Send a private message to alexfr
Find all posts by alexfr