SELECT $columns, COUNT(PdbID) as c GROUP BY PdbId HAVING c >= 2