I have two tables on server B called Employee_data and Employee_Salary. I need to create a new table on server A which has columns from both the tables.
Employee_Data has Employee_id, join_date, Employee_name, employee_photo_url
Employee_salary has employee_id, employee_ssn, employee_autoincrement_id, emp_salary
I need to join them to get Employee_id, name, emp_salary and emp_autoincrement_id where Employee_id are equal.
The join is pretty straightforward but how can I insert the data in a table on a different server A?
I will be using php to auto-update the table on server A daily. Can I pass the result of a query on server B to a table on server A as the input?