Table: tpayments date job_no item amount id
Table: tjobs
job_no
job_name
value
start_date
completion_date
duration_mths
type_no
manager_no
client_no
location
status
notes
I tried using this:
SELECT * from tpayments LEFT JOIN tjobs ON tjobs.job_no=tjobs.job_no WHERE location = 'Qatar';
Sorry but, I'm currently studying linking tables through SQL.
All I want is just to display the row of payments if the location is in Qatar, based on the tjobs table.
Thanks