Create Duplicate Oracle Table using SQL (Copy a Table) | Express Edition Tutorial | Learn SQL

preview_player
Показать описание
Learn how to copy/clone/duplicate an Oracle table using SQL under 90 seconds!

Use the Oracle Express Edition for quick learning!

Clone an Oracle table using SQL!
-----------------------------------------------------------------------------------------------------------
How to create a duplicate table using SQL along with the data?
How to clone an Oracle table using SQL?

Here is the solution:
-----------------------------------------------------------------------------------------------------------
create table emp1copy1 as (select * from emp1);
-----------------------------------------------------------------------------------------------------------

Very Simple!

Here emp1 is the base table which is copied into the emp1copy1 table along with its rows.

The table emp1copy1 does not exist before this statement is run!

Download the latest Oracle Express Edition release here:

Рекомендации по теме
join shbcf.ru