Re: New to SQL and trying multiple table joins
From: David Portas (REMOVE_BEFORE_REPLYING_dportas_at_acm.org)
Date: 07/23/04
- Next message: Andrew J. Kelly: "Re: Awaiting Command"
- Previous message: zeyneddine: "Re: DDL Created but how to get key constraints and primary key etc"
- In reply to: Dave R.: "New to SQL and trying multiple table joins"
- Next in thread: Dave R.: "Re: New to SQL and trying multiple table joins"
- Reply: Dave R.: "Re: New to SQL and trying multiple table joins"
- Reply: Dave R.: "Re: New to SQL and trying multiple table joins"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Jul 2004 20:47:14 +0100
I think you will need to convert some of your INNER joins to OUTER joins.
That should capture both those who do and don't have a job. Can't be certain
of how to write this query for you without DDL (CREATE TABLE statements) for
all these tables and maybe some sample data as well. At minimum we really
need to know what the Primary and Foreign keys are.
-- David Portas SQL Server MVP --
- Next message: Andrew J. Kelly: "Re: Awaiting Command"
- Previous message: zeyneddine: "Re: DDL Created but how to get key constraints and primary key etc"
- In reply to: Dave R.: "New to SQL and trying multiple table joins"
- Next in thread: Dave R.: "Re: New to SQL and trying multiple table joins"
- Reply: Dave R.: "Re: New to SQL and trying multiple table joins"
- Reply: Dave R.: "Re: New to SQL and trying multiple table joins"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|