hi,
use the following query to fill the data from one table to another table
- if want to copy some fields only or fields are different of both table
Insert into Database2.Table2 (field1, field2) select field1, field2
- if want to copy all fields or fields are same of both table
Insert into Database2.Table2 select * from Database2.Table1
Ref: - https://www.nullskull.com/q/10255861/to-copy-records-of-one-table-into-another.aspx
https://www.nullskull.com/q/10130678/update-complete-row-from-one-table-to-another.aspx
Hope this will help you