richtestani
Instructor
- May 3, 2004
- 20
I have tables from 2 databases I would like to join. I was trying stuff out but not getting any errors. Is this a valid statement?
I am not getting an error but also not getting results.
The idea is, My movie info is in its own database, this is so I could setup other site db's and each site can have it's own type of movie data. The dvddb has a table with movie id references. Is this possible anyway?
Thanks
Rich
Code:
SELECT * FROM movieinfo.moviedb LEFT JOIN dvdinfo.dvddb ON movieinfo.id=dvdinfo.movieid WHERE movieinf.title="a";
The idea is, My movie info is in its own database, this is so I could setup other site db's and each site can have it's own type of movie data. The dvddb has a table with movie id references. Is this possible anyway?
Thanks
Rich