Skip to main content
Top

2019 | OriginalPaper | Chapter

6. Build Sets with Inline Views and ANSI Join Syntax

Author : Jon Heller

Published in: Pro Oracle SQL Development

Publisher: Apress

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

We’re almost ready to dive into advanced SQL features. In Part I we built a solid foundation for SQL programming. Before we start using advanced features, we need to discuss how to construct our SQL statements.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
It’s rare, but still possible to have an accidental cross join with the ANSI join syntax. For example, a cross join happens if we join a multicolumn foreign key by only one column.
 
2
Based on the paper “The Magical Number Seven, Plus or Minus Two” by George A. Miller.
 
3
Oracle 12c introduced lateral joins, which allow inline views to reference things outside of the inline view. That new feature defeats the whole purpose of inline views and should be avoided.
 
4
Numbering isn’t generally necessary with inline views. Showing code in a book is a bit more challenging than using code in an IDE. Without IDE features such as parentheses matching, highlighting, and code folding, the numbering is helpful to keep track of how the data flows.
 
Metadata
Title
Build Sets with Inline Views and ANSI Join Syntax
Author
Jon Heller
Copyright Year
2019
Publisher
Apress
DOI
https://doi.org/10.1007/978-1-4842-4517-0_6

Premium Partner