symfonydev avatar

Check if there are the same values for given column

symfonydev

Published: 26 Sept 2017 › Updated: 26 Sept 2017Check if there are the same values for given column

Check if there are the same values for given column

Note that if you column a is of type VARCHAR and you're using MySQL, by default you'll get the same results for 'value', 'VALue', etc.

 SELECT email, COUNT(*) a FROM sometable GROUP BY a HAVING a > 1;

Leave Check if there are the same values for given column to:

Written by

Read more #sql posts


Best Posts From symfonydev

We have not curated any of symfonydev's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From symfonydev