I am using the following query to join tables together and it seems to be working although I can\'t really understand why:
SELECT listing.name,