I have been thinking about how to simulate an outer join. It seems the best way is to do: SELECT tab1.col1, tab2.col3 FROM tab1, tab2 WHERE tab1.col1 = tab2.col2 UNION ALL SELECT tab1.col1, NULL FROM tab1 WHERE tab1.col1 NOT IN (SELECT tab2.col2 FROM tab2) Comments? I know someone was asking about this recently. -- Bruce Momjian | http://www.op.net/~candle [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ************
- Re: [GENERAL] Simulating an outer join Bruce Momjian
- Re: [GENERAL] Simulating an outer join Mike Mascari
- Re: [GENERAL] Simulating an outer join Sarah Officer
- Re: [GENERAL] Simulating an outer join Bruce Momjian
- Re: [GENERAL] Simulating an outer join Bruce Momjian
- Re: [GENERAL] Simulating an outer join Julian Scarfe
- Re: [GENERAL] Simulating an outer join Bruce Momjian
- Re: [GENERAL] Simulating an outer join Julian Scarfe
- Re: [GENERAL] Simulating an outer ... Bruce Momjian
- RE: [GENERAL] Simulating an outer join Culberson, Philip
- Re: [GENERAL] Simulating an outer join Bruce Bantos