Hello,
I have a table which apart from other columns, has id and rid columns. id is the primary key and rid is a reference to another table.
What I want to do is retrieve the rid's which have more than one row in the table.
I tried this
which throws up an error.Code:SELECT * FROM address where count(rid)>1;
I tried something with joins which returned all the rows.
What is the correct way to achieve what I want to?
Thank you.
