Questions 21–22 of 22. Imported answers require independent review unless marked reviewed.

Topic practice 22 questionsPage 3 of 3

Question 46

Open question
DAMSQ2 marksNeeds review
Given the relational schema

and the set of functional dependencies:

Which of the following functional dependencies can be derived from the above set?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 55

Open question
DAMSQ2 marksNeeds review
An OTT company is maintaining a large disk-based relational database of different movies with the following schema:
Movie(

,

)
Genre(

,

)
Movie_Genre(

,

)
Consider the following SQL query on the relational database above:
SELECT *
FROM Movie, Genre, Movie_Genre
WHERE
Movie.CustomerRating > 3.4 AND
Genre.Name = “Comedy” AND
Movie_Genre.MovieID = Movie.ID AND
Movie_Genre.GenreId = Genre.ID;
This SQL query can be sped up using which of the following indexing options?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer