Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> simple (not for me) question
Hello,
I have a table like this:
ID | prod_nr | rate ----|----------|------------ 1 | 23 | 8 2 | 29 | 11.3 3 | 230 | 3 4 | 23 | 16.2 5 | 23 | 4
I am new in sql, and don`t know how to get list of ID's for distinct list of prod_nr. I need to have the result like this.
res_id
Thanks in advance for any clue in this question Received on Thu Aug 18 2005 - 04:45:58 CDT
![]() |
![]() |