In Oracle, I use
SELECT * FROM table1...JOIN...
where the dots represent either the type of join or the condition on which to be joined.
Is this ANSI 89 syntax? If not, then how would I perform a join if I were using ANSI 89?
join;sql-standard
In Oracle, I use
SELECT * FROM table1...JOIN...
where the dots represent either the type of join or the condition on which to be joined.
Is this ANSI 89 syntax? If not, then how would I perform a join if I were using ANSI 89?
Best Answer
You don't want to use SQL-89 syntax. SQL-89 is just an implicit
CROSS JOIN
(Cartesian product).Is the same as the more modern
Adding the
WHERE clause
makes it the equivalent of anINNER JOIN ... ON
You want to use SQL-92 Syntax.
Or even better (if the join column is the same and it's an equijoin
=
)INNER
. That's fine. It's still SQL-92.See also