CRITICAL SKILL 2.8

Employ Joins (ANSI vs. Oracle): Inner, Outer, Self

Up until now, all of the examples in this chapter have selected data from only one table. In actual fact, much of the data that we need is in two or more tables. The true power of a relational database (and the source of its name) comes from the ability to relate different tables and their data together. Understanding this concept is critical to harvesting the information held within the database. This is more commonly known as joining two or more tables.

With Oracle Database 10g, queries can be written using either Oracle’s SQL syntax or ANSI syntax. While Oracle hasn’t made ANSI syntax available until recently, it has been used in non-Oracle environments for some time. Many ...

Get Oracle Database 10g: A Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.