I Solved it!!! 2 mins after I posted here sorry!
All I had to do is a LEFT JOIN instead of an INNER JOIN as follows:
Code: ( text )
SELECT pa.property_id_pk,
pa.property_price,
pa.property_refno,
pa.property_bedrooms,
pa.property_description,
pa.property_featured,
pa.property_sale_rent,
pa.advert_active,
pa.advert_start_date,
pa.advert_end_date,
pim.image_url
FROM tb_property_advert as pa
LEFT JOIN tb_property_image as pim
ON pa.property_id_pk=pim.property_advert_id_fk
AND image_default = 1
Please correct me if I'm wrong but it seems to be giving me the results I want!
Thanks anyway
Luk