I am using MySQL. I have a table called EMP, and now I need create one more table (EMP_TWO) with same schema, same columns, and same constraints. How can I do this?
Create table in MySQL that matches another table? Ans:
CREATE TABLE new_table AS SELECT * FROM old_table;