GATEverse Practice, past papers & mock tests
GATE 2024 · session-1
Database Management and WarehousingIndexing and SQLmediumMSQ2 marks
An OTT company is maintaining a large disk-based relational database of different movies with the following schema: • Movie (ID, CustomerRating) • Genre (ID, Name) • Movie_Genre (MovieID, GenreID) The given SQL query is: ` 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; ` Problem Statement: This SQL query can be sped up using which of the following indexing options?

Select every correct option.

Save your progress

Related Database Management and Warehousing PYQs