6

I know there is really no difference, but is 'LEFT JOIN' an ANSI form or are there any RDBMS's that will fail 'LEFT JOIN' and require 'LEFT OUTER JOIN'. [I am asking here so I can save a few clicks, form fillings, etc to get the correct ANSI standard!]

Deduplicator
  • 44,692
  • 7
  • 66
  • 118
ManiP
  • 713
  • 2
  • 8
  • 19

2 Answers2

16

[OUTER] is optional, per the ANSI spec (92, but I'm sure later versions also cover it).

Of course, you're assuming that every SQL product is ANSI compatible. For joins, they probably are..

Damien_The_Unbeliever
  • 234,701
  • 27
  • 340
  • 448
1

ANSI JOINS

http://www.oratechinfo.co.uk/ansi_joins.html

Note, the OUTER can be dropped, since, by definition, LEFT, RIGHT and FULL JOINs MUST be OUTER joins (it's down to personal preference and readability)

Carlos Quintanilla
  • 12,937
  • 3
  • 22
  • 25