Question: Code (c, d) using Relational Algebra: Q1. Consider the following tables (relations) that contain information (all stored as names) about persons visiting theatres, movies played
Code (c, d) using Relational Algebra:

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 (c,d) using Relational Algebra: c) Find persons who go to theatres that do not play any of the movies they like? d) Find every movie played by at least one theatre and liked by at least one person who stars in the movie
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
