Skip to content
Advertisement

What are Oracle’s old-syntax join equivalents of these queries?

What are the equivalent joins written in the Oracle’s old join syntax of these queries?

–>106 rows returned

–> 122 rows returned

Advertisement

Answer

I would do something like this (for the first query) – making explicit the fact that a multiple join is, by definition, an iteration of joins of two tables (or more generally “rowsets”) at a time. Think of it as “using parentheses explicitly”.

This can be rewritten (perhaps) using a single SELECT statement, with more WHERE conditions – but the query will be less readable; it wont’ be quite as clear what it is doing.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement