Assgnment1 questionsDB
Assgnment1 questionsDB
……… (Pages: 3)
Name ………………………….
MAR BASELIOS COLLEGE OF ENGINEERING & TECHNOLOGY (AUTONOMOUS)
Thiruvananthapuram – 695 015
S4CT: Assignment 1
CS1U20E Database Management Systems
Maximum: 50 Marks
4. (10 marks)
5.
(10 marks)
The relational database schema below represents certain information about al-
bums, songs in the albums and singers of those songs. Foreign keys are given the
same name as primary keys.
ALBUMS (ALBUM_No, ALBUM-NAME, PRODUCED-BY, YEAR)
SONGS (SONG_No, SONG-START, DURATION, ALBUM_No)
SUNGBY (ARITISTNAME, SONG_No).
Write relational algebra expressions for the following queries:
(a) Names of albums produced by ‘HMV’ in the year 2018.
(b) Names of albums in which an artist with name, ‘AVANTHIKA’
sung.
(c) Names of albums in which all the artists have sung songs.