I'm having problems writing a query and I was wondering if anyone could help. I'm not exactly sure how I need to do this.
I have 3 tables - tblA, tblB, tblC.
(* denotes primary key)
tblA
----
*project_id
project_name
tblB
----
*company_id
project_id
company_name
tblC
----
*contact_id
company_id
contact_name
I need a query that will return project_name, company_name, and contact_name where tblA.project_id = 1 from these three tables. How can I do this? I'm not sure what to do because of tblC. Can anyone help?
Thanks,
crhodus
I have 3 tables - tblA, tblB, tblC.
(* denotes primary key)
tblA
----
*project_id
project_name
tblB
----
*company_id
project_id
company_name
tblC
----
*contact_id
company_id
contact_name
I need a query that will return project_name, company_name, and contact_name where tblA.project_id = 1 from these three tables. How can I do this? I'm not sure what to do because of tblC. Can anyone help?
Thanks,
crhodus