Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: aggregate function to get 'any' value
"Caspar von Seckendorff" <seckendorff_at_alphatec.de> wrote in message
news:bcq8te$rm5$1_at_innferno.news.tiscali.de...
> However, if for some reason there are multiple company names for the same
> company_id, this would be a problem, because logically it should only be
> grouped by company_id.
>
> In this case I just want to get ANY company name. One way to achieve this
> would be:
I'd suggest that you might not want to return company name at all, since in the situation you describe its meaningless.
-- Niall Litchfield Oracle DBA Audit Commission UKReceived on Thu Jun 19 2003 - 08:45:16 CDT
![]() |
![]() |