Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: simple (not for me) question
Mark C. Stock wrote:
> what version of oracle are you using?
>
> you're not just looking for a list of IDs, you appear to be looking for a
> list of minimum ID for each prod_nr
>
> have you tried the GROUP BY clause?
You are dead right,
select min(ID) from table group by prod_nr
works great Received on Thu Aug 18 2005 - 07:21:31 CDT
![]() |
![]() |