I'm trying to use the INNER JOIN
functionality in my phpMyAdmin.
My query looks like this:
SELECT * FROM ___Bookings INNER JOIN ___Origins ON ___Bookings.BOO_Origin=___Origins.ORI_Id WHERE BOO_Id=1
.
The problem is at this step nothing is populated into the ___Origins
table. So my query returns 0 row
.
How to change my query to return a row even if I do not have the joined table populated ?
Also what's the difference between JOIN
and INNER JOIN
?
Thanks so much.