How to copy a table in another table with datas?

Answer Posted / kavitha nedigunta

create table new_table as select * from old_table;

EG:- create table emp1 as select * from emp;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How delete a row in sql?

544


What is the difference between database trigger and stored procedure?

563


What are the basic sql commands?

556


What is a .db file?

548


what are all the common sql function? : Sql dba

593






How do you declare a user-defined exception?

540


Is microsoft sql free?

613


What are pl sql procedures?

529


Why is a primary key important?

553


What are all the ddl commands?

646


what is subquery? : Sql dba

578


What is the purpose of design view?

537


Can ddl statements be used in pl/sql?

602


Is sql a scripting language?

529


What are the syntax and use of the coalesce function?

563