Answer the questions below based on the database model found
Solution
2. From media relation:
MP4 corresponds to Digital Video Format
Hence, Titles which are MP4:
High School
Eyes Wide Open
Payphone
3. Artists that are associated with Pop-alternative genre are Gotye, Coldplay, Fiest
Hence, the titles and years that correspond to these artists:
The Reminder, 2007
Open Season, 2006
Mylo Xyloto, 2011
Somebody I used to know, 2011
Eyes wide open, 2012
4.
We need to select music whose media format is analog. Hence, it will return music records with media type vinyl and cassette tape
Hence, it will return the following records:
Born to run, Bruce Springstein, 1981, Vinyl, 15.95
Greatest Hits, Ella Flitzgerald, 1972, Vinyl, 15.95
Quadrophenia, The Who, 1973, Vinyl, 25.95
Rolling Stones Box Set, Rolling Stones, 2013, Vinyl, 50.00
5. b. SELECT Artist, Title from MUSIC where MediaType = \"CD\"
6. SELECT Title from MUSIC;
7. DELETE FROM MEDIA where MediaType=\"Cassette Tape\";
8. UPDATE MUSIC
SET Year=2012
WHERE Title=\"Somebody I used to know\";
9. INSERT INTO ARTIST
Values (\"Adam Young\", \"Pop\");
