The document provides SQL commands for creating a copy of an existing table named 'employees' using various methods. It demonstrates creating a new table, inserting data, and using 'CREATE TABLE AS SELECT', 'CLONE', and 'LIKE' keywords to replicate the original table. The document also includes example data entries for the 'new_employees' table.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
4 views1 page
6 +Different+ways+to+make+a+copy+of+a+Table
The document provides SQL commands for creating a copy of an existing table named 'employees' using various methods. It demonstrates creating a new table, inserting data, and using 'CREATE TABLE AS SELECT', 'CLONE', and 'LIKE' keywords to replicate the original table. The document also includes example data entries for the 'new_employees' table.