I have 3 tables.
First is a Company Table: Company_ID, Company_name
etc
2nd is a Jobs Table: JOB_ID, Job_Name, Job_description
etc
3rd is a Comp_Jobs table: Comp_Job_ID, Company_ID, Job_ID
I am trying to run a query to create a join with these tables so that it will display all the jobs assoicated with a company. eg ive got 2 jobs for company 1 i want to display. but when i run this query:
Select Company.Company_name, Jobs.Job_ID, Company.CAddress,
Jobs.Job_Name, Jobs.Job_Description from Company, jobs
join company_job where Company.Company_ID = Company_Job.Company_ID
order by Company_job.Job_ID;
it would repeat the result, as in company 1 will display jobs 1 and 2 twice.
any tekkers?