Professional Documents
Culture Documents
use MusicalSystem;
Queries:
I) Given the key of the disc X01 obtain its title, year of production and the musical
pieces it contains.
II) Given the name of a piece of music, it is required to know the name of the
instrumentalists and the name of the instrument that they play, as well as the author's
name and type of authorship for all the people who participated in the piece of music.
The output should be like:
select NAME,NAME_INST
from PEOPLE P,INSTRUMENTS I,PLAYS T
WHERE NAME_INST = 'GUITAR'
AND P.ID_PERSON=T.ID_PERSON
AND I.ID_INSTRUMENT = T.ID_INSTRUMENT
IV) Given a piece of music, it is necessary to know the title, year of production of the
discs that contain it and in which track, as well as the names of authors, their type of
authorship, their nationality and the names of instrumentalists with the instruments
they play in said musical piece. The output should be like: