Question: code following using tuple relational calculus. Q1. Consider the following tables (relations) that contain information (all stored as names) about persons visiting theatres, movies played

code following using tuple relational calculus.

code following using tuple relational calculus. Q1. Consider the following tables (relations)

Q1. Consider the following tables (relations) that contain information (all stored as names) about persons visiting theatres, movies played by theatres, movies liked by persons, and players who star in movies. A person can like several movies; a movie can be liked by many persons. A person can go to several theatres, and a theatre is visited by many persons. A theatre can play many different movies, and a movie can be played by several theatres. A player may star in several movies and a movie may involve many players, further a player may be a person, that is, some persons are players. Please note that in all the queries some means at least one Goes(person, theatre) Plays(theatre, movie) Likes(person, movie) Stars(movie, player) Code (e, f) in tuple relational calculus: e) Find every person who goes to theatres that play all the movies in which he/she stared? f) Find every theatre which plays movies liked by at least one player

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!