Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outer Join Woes

Status
Not open for further replies.

zunni

Technical User
Oct 30, 2006
9
GB
Hi,

I'm having trouble with creating an outer join involving 3 tables. Can someone shed some light for me?

I have three tables:

Tables Columns
--------------------------------------------
Jobs id,type
Action id,type,Job_id
Action_sub_type id,type,Action_id

The tables are joined by these conditions

Jobs.id = Action.Jobs_id
Action.id = Action_sub_type.Action_id

Jobs has a one to many relationship with Action and
Action has a one to many relationship with sub_type

How do I write a query that shows all Jobs.id that do not have these conditions:
Action.type = "This" AND
Action_sub_type.type ="That"

Thanks in advance,
Me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top