1 / 28

Chapter 8: Advanced SQL

2. Objectives. Definition of termsWrite multiple table SQL queriesDefine and use three types of joinsWrite correlated and noncorrelated subqueriesEstablish referential integrity in SQLUnderstand triggers and stored proceduresDiscuss SQL:1999 standard and its extension of SQL-92. 3. Processing

levana
Download Presentation

Chapter 8: Advanced SQL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. 2007 by Prentice Hall 1 Chapter 8: Advanced SQL Modern Database Management 8th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden

    2. 2 Objectives Definition of terms Write multiple table SQL queries Define and use three types of joins Write correlated and noncorrelated subqueries Establish referential integrity in SQL Understand triggers and stored procedures Discuss SQL:1999 standard and its extension of SQL-92

    3. 3 Processing Multiple TablesJoins Joina relational operation that causes two or more tables with a common domain to be combined into a single table or view Equi-joina join in which the joining condition is based on equality between values in the common columns; common columns appear redundantly in the result table Natural joinan equi-join in which one of the duplicate columns is eliminated in the result table Outer joina join in which rows that do not have matching values in common columns are nonetheless included in the result table (as opposed to inner join, in which rows must have matching values in order to appear in the result table) Union joinincludes all columns from each table in the join, and an instance for each row of each table

More Related