Suppose this is the result of a query
id value
------ ---------
10 123
10 422
11 441
11 986
12 674
13 648
What do i need to add to the query to return all the id's which have 2 or more values associated with them. So, in that case it will only return ID 10 & 11, but i need al the records.
so the result looks like:
id value
------ ---------
10 123
10 422
11 441
11 986
GROUP BY won't help me because i got only 1 back.. ;-)
Thank you.