That is actually what I thought you meant in your original posting, but usually when Rudy comes up with a solution that makes no sense to me it is because he has a better understanding of what the user really wanted. My suggestion would be:
PHP Code:
SELECT a.*
FROM myTable AS a
WHERE 1 < (SELECT Count(*)
FROM myTable AS b
WHERE b.account = a.account
AND b.project = a.project);
I think this will do what you are asking for, or at least it should produce the sample result set you've posted.
P.S. Note that this assumes you are running a version of MySQL that supports sub-queries. If not, you'd need to use:
PHP Code:
SELECT a.company, a.account, a.project
FROM myTable AS a
JOIN myTable AS b
ON (b.account = a.account
AND b.project = a.project)
GROUP BY a.company, a.account, a.project
HAVING 1 < Count(*);
...which should get you the same results without using a correlated sub-query.
-PatP