Assignment 3 Data

1 downloads 103 Views 58KB Size Report
Jul 7, 2006 ... “ZZ Top Greatest Hits”. 1992. “Doc Pomus/Mort Shuman” “Viva Las Vegas” “ZZ Top Greatest Hits”. 1992. “Billy Joel”. “No Man's Land” “River Of ...
Instructor: Zinovi Tauber TA: Maxim Roy

Summer Semester, 07/07/2006

CMPT 354 – Database Systems I

Assignment 3 Data Due: Friday, July 14th, 2006, at the start of class Add the following tuples to the Music table: Composer “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Doc Pomus/Mort Shuman” “Billy Joel” “Billy Joel” “Billy Joel” “Green/Roland” “Green/Roland” “Roland”

Title “Doubleback” “Rough Boy” “Sleeping Bag” “La Grange” “Viva Las Vegas” “No Man’s Land” “All About Soul” “A Minor Variation” “Better Now” “Home” “Perfect to Stay”

Year 1990 1985 1985 1973 1964 1993 1993 1993 2003 2004 2004

Mood Upbeat Upbeat Upbeat Upbeat Upbeat Calm Calm Calm Lively Lively Lively

After writing the trigger add the following, and report the result of the trigger for each CD added. You may add the music (in contain table) directly after adding the associated CD, or in any order: CDs table: Title “ZZ Top Greatest Hits” “River Of Dreams” “Youth”

Year 1992 NULL NULL

Cover NULL NULL NULL

MusicTitle “Rough Boy” “Sleeping Bag” “Doubleback” “La Grange” “Viva Las Vegas” “No Man’s Land” “All About Soul” “A Minor Variation” “Better Now” “Home” “Perfect to Stay”

CDTitle “ZZ Top Greatest Hits” “ZZ Top Greatest Hits” “ZZ Top Greatest Hits” “ZZ Top Greatest Hits” “ZZ Top Greatest Hits” “River Of Dreams” “River Of Dreams” “River Of Dreams” “Youth” “Youth” “Youth”

Contain table: Composer “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Gibbons/Hill/Beard” “Doc Pomus/Mort Shuman” “Billy Joel” “Billy Joel” “Billy Joel” “Green/Roland” “Green/Roland” “Roland”

Year 1992 1992 1992 1992 1992 NULL NULL NULL NULL NULL NULL