Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: inline view vs. subquery

Re: inline view vs. subquery

From: Oliver S. <Follow.Me_at_gmx.net>
Date: 6 Apr 2003 12:39:21 GMT
Message-ID: <Xns93559516FE27AFollowMeGmxNet@130.133.1.4>


> SELECT field1
> FROM (
> SELECT field1, count(*)
> FROM sometable
> GROUP BY field1);

 AFAIK you have to provide a table alias for an inline-view; so the last line f.e. must be "GROUP BY field1) NAME;".

-- 
C++ is the only feasible way to write large C-programs
Received on Sun Apr 06 2003 - 07:39:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US