Hi, I have one table with a long cardinality. I'd like to get a list of all the folks in the table with more than one login in. Is there an easy way to nest these subquries in MYSQL?!
SELECT w.GROUP, w.SSN, w.PINNO
FROM webusers w
WHERE w.SSN IN (
SELECT w.SSN, COUNT(w.SSN) AS pins FROM webusers w
GROUP BY w.SSN
HAVING pins > 1)
LIMIT 50
Thanks...