Use uma
join
padrão com where
apropriado critério:SELECT tbl_climatic.location, tbl_favourablecrops.favCrop
FROM tbl_climatic join
tbl_favourablecrops on tbl_climatic._id=tbl_favourablecrops.location_id
WHERE tbl_favourablecrops.location_id=0