| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: GROUP BY question
Carlos Bromanski <cbroman_at_shpamcore.com> wrote:
: SELECT Whse, CustPN, Price
: FROM ThatTable AS A
: WHERE Price = (
: SELECT max(Price), CustPN
: FROM ThatTable AS B
: WHERE B.CustPN = A.CustPN
: GROUP BY CustPN)
Your kung-fu is the best. Received on Wed Apr 18 2001 - 21:57:45 CDT
![]() |
![]() |