Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does "JOIN" mean the same as "INNER JOIN" [duplicate]

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?

like image 254
Stephen Holt Avatar asked Mar 07 '12 10:03

Stephen Holt


1 Answers

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.

like image 168
John Woo Avatar answered Oct 12 '22 12:10

John Woo