Can anyone help, I'm currently trying to join a table from a primary key on one table to a foriegn key on the other, therefore I assume I need a left join??
Tables are constructed like this:
Pricing:
ID
week
price
availability
Pricing_noates
ID
price_id
notes
The SQL I am using is this:
SELECT pricing.ID, pricing.week, pricing.price, pricing.availability, pricing_notes.notes FROM pricing LEFT JOIN pricing_notes ON pricing_notes.villa_id WHERE pricing_notes.villa_id = 294