-
Selecting just one row
How can I select just one row from a table with the same value in multiple rows?
-
-
-
Crystal ball broken today. Maybe you could elaborate with an example?
Jeff Hunter
-
select id, count(*)
from table_A
group by id
having count(*) > 1;
Is that you want?
Tamil
-
I remember when this place was cool.
-
YES! The ROWNUM < 2 worked. Thank you all of you out there for your help.
-
select id
from table
group by id;
fossil
-
Originally posted by irivera
YES! The ROWNUM < 2 worked. Thank you all of you out there for your help.
Wow, now I am a genius!
MH
I remember when this place was cool.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|