I have two databases, EMPLOYEES and VEHICLES
I want to run a SELECT query using tables from each database. I have tried using the full address to each table but this does not work.
e.g.
SELECT employee.details.surname,
vehicles.companycars.model
FROM employee.details INNER JOIN vehicles.companycars
ON vehicles.companycars.regno = employee.details.regno
Can anyone tell me where I am going wrong?
I want to run a SELECT query using tables from each database. I have tried using the full address to each table but this does not work.
e.g.
SELECT employee.details.surname,
vehicles.companycars.model
FROM employee.details INNER JOIN vehicles.companycars
ON vehicles.companycars.regno = employee.details.regno
Can anyone tell me where I am going wrong?