You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# below code is to insert values from one table to another.
CREATETABLEdepartments_dup ( # creating a new table (which is supposed to be the duplicate of departments table)
dept_no CHAR(10),
dept_name VARCHAR(50)
);
insert into departments_dup(dept_no, dept_name) # inserting all the values of departments table into its duplicate table. table names can be different.