How could I get mysql to just print the number of rows for this query, because this is currently return hundreds of rows. I just want one row.
I want to know how many duplicate first names there is.
I want to know how many duplicate first names there is.
Code:
SELECT COUNT(*) as total FROM members WHERE first!='' GROUP BY first HAVING total>1