I've problems in joining 9 mysql tables for my sample jobsite project. First i'm new to mysql joins and i have done database normalization.
My tables are:
Job jid |title |salary | descr | req | duties
Location | lid |county
job_location | jid | lid
contract | coid | terms
job_contract | lid |lid
company | cid | name
job_company | cid | jid
sector | sid | type
job_sector | jid | sid
Now i need a query to get the following list of job details: title |salary | descr | req | duties |county | terms | company_name | job_location
The following code displays jobs location.
SELECT county
FROM location
JOIN job_location ON job_location.lid = location.lid
INNER JOIN job ON job.jid = job_location.jid;
Any assistance will be appreciated.