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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to create a second table as sorted on one column of first table?

Re: How to create a second table as sorted on one column of first table?

From: Maxim V. Krapivin <maximka_kr_at_usa.net>
Date: Tue, 19 May 1998 17:42:57 +0300
Message-ID: <35618c4e.0@nam>


David Shi wrote :
>I tried:
>
> create table second as select * from first order by key;
>
>but didn't work. Any help is greatly appreciated!
>
>David

All right. The data in any table is unsorted. You can use ORDER BY clause when fetching data from the table. But when you create one table from another this means nothing.

Maxim. maximka_kr_at_usa.net Received on Tue May 19 1998 - 09:42:57 CDT

Original text of this message

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