How to create a new table by selecting rows from another table?



How to create a new table by selecting rows from another table?..

Answer / Jayveer Singh

To create a new table by selecting rows from another table, you can use the Create Table As Select (CTAS) statement. Here's an example:nn`CREATE TABLE new_table AS SELECT * FROM existing_table;`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

How to Select second Maximum salary in a Table ?

13 Answers   Oracle,


What is a proxy class?

1 Answers  


Explain view?

1 Answers  


Define oracle database

1 Answers  


"primary key=unique+null" is equal,reson?not,reason?

5 Answers  


i deleted 4 records form the table.after i have applied commit .now i want to get back those records.how?

7 Answers   HCL, IBM,


How to set a transaction to be read only in oracle?

1 Answers  


master table and child table performances and comparisons in Oracle ?

1 Answers  


What is redo log?

1 Answers  


does Oracle has only one table space?

1 Answers   Oracle,


How to find the duplicate rows count from employees table in oracle?

1 Answers  


How to connect asp pages to oracle servers?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)