Hi,
I have a database with the following tables:
tbl_joblistings
listing_ID - Primary key
job_title
job_desc
tbl_job_languages
listing_ID
language_ID
tbl_languages
language_ID - Primary key
language_Name - Unique
tbl_job_industries
listing_ID
industry_ID
tbl_industries
industry_ID - Primary key
industry_Name - Unique
tbl_joblistings and tbl_languages has a 1 to many relationship with tbl_job_languages and table tbl_joblistings and tbl_industries has a 1 to many relationship with tbl_job_industries. Both tbl_job_languages and tbl_job_industries is made up of a compound primary key.
what is the sql syntax to join these tables if I want to search a job by language_Name and industry_Name. E.g. select everything from tbl_joblistings where language_name is French and industry sector is IT?
Any help will be much appreciated. Cheers.