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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Data into another table

RE: Data into another table

From: Jack C. Applewhite <japplewhite_at_inetprofit.com>
Date: Wed, 21 Mar 2001 10:37:11 -0800
Message-ID: <F001.002D354F.20010321084633@fatcity.com>

Roland,

Just like this...

Insert Into Table2 ( Col_12 , Col_34 )
Select Col1 * Col2 , Col3 / Col4 From Table1 ;

Of course Col_12 and Col_34 must be datatype Number.

Jack



Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
japplewhite_at_inetprofit.com

-----Original Message-----
Roland.Skoldblom_at_ica.se
Sent: Wednesday, March 21, 2001 9:51 AM
To: Multiple recipients of list ORACLE-L

How can I create a select statement from table1 including some division or multiplication , and then include the result into table2.

Roland Sköldblom

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Jack C. Applewhite
  INET: japplewhite_at_inetprofit.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 21 2001 - 12:37:11 CST

Original text of this message

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