SyntaxFix
Write A Post
Hire A Developer
Questions
How about:
SELECT <column>, count(*) FROM <table> GROUP BY <column> HAVING COUNT(*) > 1;
To answer the example above, it would look like:
SELECT job_number, count(*) FROM jobs GROUP BY job_number HAVING COUNT(*) > 1;