Login / Register
  1. Home
  2. Data Science and Artifici...

Filters

Found 3 Questions

Set Default
Exams
Subjects
Topics

List of top Data Science and Artificial Intelligence Questions on SQL

An OTT company is maintaining a large disk-based relational database of different movies with the following schema :
Movie (ID, Customer Rating)
Genre (ID, Name)
Movie Genre (MovieID, GenreID)
Consider the following SQL query on the relation 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.Genre ID = Genre. ID;
This SQL query can be sped up using which of the following indexing options ?
  • GATE AR - 2024
  • GATE AR
  • Data Science and Artificial Intelligence
  • SQL
Consider the following two tables named Raider and Team in a relational database maintained by a Kabaddi league. The attribute ID in table Team references the primary key of the Raider table, ID.
Raider
IDNameRaidsRaidPoints
1Arjun200250
2Ankush190219
3Sunil150200
4Reza150190
5Pratham175220
6Gopal193215
Team
CityIDBidPoints
Jaipur2200
Patna3195
Hyderabad5175
Jaipur1250
Patna4200
Jaipur6200

The SQL query described below is executed on this database :
SELECT *
FROM Raider, Team WHERE Raider.ID=Team.ID AND City="Jaipur" AND
RaidPoints > 200;
The number of rows returned by this query is ______.

  • GATE AR - 2024
  • GATE AR
  • Data Science and Artificial Intelligence
  • SQL
Solve the following query:
from reader,team
  • GATE AR
  • Data Science and Artificial Intelligence
  • SQL
contact us
terms & conditions
Privacy & Policy
© 2025 Zollege Internet Private Limited