home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- From: smj@jbecpor.demon.co.uk (Martin Jarvis)
- Path: sparky!uunet!pipex!demon!ALPHA!smj
- Subject: Re: Help with SQL statement
- Organization: John Brown E&C Ltd
- X-Newsreader: Tin 1.1 PL4
- References: <1993Jan22.211051.4867@vpnet.chi.il.us>
- Distribution: na
- Apparently-To: mail2news@news.demon.co.uk
- Date: Mon, 25 Jan 1993 17:59:08 +0000
- Message-ID: <C1F8MK.Hw3@jbecpor.demon.co.uk>
- Sender: usenet@demon.co.uk
- Lines: 13
-
- Oh my god, dummy records !! Take it from me, any design that relies on dummy
- records is going to be more trouble than it's worth !! (No offence intended)
-
- Yes, outer joins are what is required.
-
- You do not state which RDBMS you are using. Oracle uses the
- following notation :
-
- SELECT CUSTOMER.NAME, ORDER.NUMBER
- FROM CUSTOMER, ORDER
- WHERE CUSTOMER.CUSTOMER_NO = ORDER.ORDER_NO(+)
-
- I believe that INGRES uses the actual word OUTER in its syntax.
-