COMP3311 Final Exam 20T3 The University of New South Wales
COMP3311 Database Systems
Final Exam 20T3
Database Systems
[Front Page] [Notes] [Database] [Course Website] [Cheat Sheets]
[Q1] [Q2] [Q3] [Q4] [Q5] [Q6] [Q7] [Q8] [Q9] [Q10] [Q11] [Q12]

Question 1 (4 marks)

Write an SQL view that gives information about the album(s) with the longest total running time (sum of length of songs on the album).

Define the view as q1("group",album,year), where the attributes are:

Note that the attribute name "group" must appear in double-quotes because it's an SQL reserved word.

Instructions:

End of Question