SQL Implicit Commands
Not being an SQL guy, i'm really not used to implicit commands from T-SQL. By implicit, I mean those simplified commands which does the same thing as those documented in every SQL books.
- I first encountered a query below from a teammate:
FROM Table1 T1 JOIN Table2 ON ...
Every book includes all those type of joins, LEFT OUTER JOIN, RIGHT OUTER JOIN, INNER JOIN AND CROSS JOIN, so my initial reaction was, wtf, what join is that. Then I later found out that it just mean an INNER JOIN.
- I also encountered a comma in between tables
FROM Table1, Table2
And when I searched through usenet, it's just a shortcut for CROSS JOIN.
FROM Table1 a, Table2 b WHERE a.Id = b.FkID
on the other hand, will use an INNER JOIN
Any other implicit commands that you know of for SQL?