|
Users Table
|
|
Employees Table
|
We want to copy data from
Users tabel to
Employee table for this we use below query:
insert into `employees` (`first_name`, `last_name`,`email`) SELECT `users`.`first_name`,`users`.`last_name`,`users`.`email` from `users`;
After that we can see below output:-
|
Copy data from Users Table
|
Comments
Post a Comment
If you any doubt of any topic then you can comment me.