12

Possible Duplicate:
Difference between JOIN and INNER JOIN

I have found some legacy SQL (T-SQL) for MS SQL Server, which has a clause

TableA JOIN TableB

I was just wondering if this is identical to

TableA INNER JOIN TableB

or if there is any difference?

Also, if I were to port this to another database engine, e.g. MySQL, Access, Oracle, would JOIN also always mean the same as INNER JOIN?

Community
  • 1
  • 1
Stephen Holt
  • 2,360
  • 4
  • 26
  • 34

1 Answers1

16

Did you try it?

Quoted from palehorse:

They function the same. INNER JOIN can be a bit more clear to read, especially if your query has other join types (e.g. LEFT or RIGHT) included in it.

John Woo
  • 258,903
  • 69
  • 498
  • 492
  • 7
    I did try it, but just wanted to be sure there were no edge cases in which they might differ. Also apologies for asking a duplicate question. – Stephen Holt Mar 07 '12 at 10:24