NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT - MySQL select question

Aaron Fischer agfische at email.smith.edu
Thu Dec 7 10:10:25 EST 2006


Greetings,

I'm not sure how to do the following, any tips?

I have a column in a MySQL table that contains varchars.  I would like 
to select all records where there are instances of more than one record 
for any given varchar.

So in plain language, the SQL statement would look something like:

select * from table where the occurence of each unique varchar in column 
A is greater than one.

Thoughts?  Thanks!

-Aaron



More information about the talk mailing list