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: Simple views

Re: Simple views

From: Galen Boyer <galenboyer_at_hotpop.com>
Date: 30 May 2002 23:33:19 -0500
Message-ID: <uptzc7on5.fsf@hotpop.com>


On Wed, 29 May 2002, MartinSo_at_privat.utfors.se wrote:
> My book (8i) tells me that you cannot use order by or group by on
> simple views.

SQL*Plus: Release 8.1.7.0.0 - Production on Thu May 30 23:21:54 2002

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option
JServer Release 8.1.7.0.0 - Production

SQL> create or replace view tst_group_by as select owner,count(*) cnt

     from all_tables group by owner;

-- 
Galen deForest Boyer
Sweet dreams and flying machines in pieces on the ground.
Received on Thu May 30 2002 - 23:33:19 CDT

Original text of this message

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