How can I select just one row from a table with the same value in multiple rows?
select Distinct?
-- Dilip
I tried that.
Crystal ball broken today. Maybe you could elaborate with an example?
Jeff Hunter marist89@yahoo.com http://marist89.blogspot.com/ "I pledge to stop eating sharks fin soup and will not do so under any circumstances."
select id, count(*) from table_A group by id having count(*) > 1; Is that you want? Tamil
Where rownum <2 ?
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
Forum Rules