home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9417 < prev    next >
Encoding:
Text File  |  1993-01-26  |  913 b   |  28 lines

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