Find the information about movies produced

Assignment Help Computer Engineering
Reference no: EM133702912

Consider a database schema with three relations:
Actors (aid:integer, aname:string, age:real, city:string, state:string)
Playsin(aid:integer, mid:integer, character:string)
Movies(mid:integer, mname:string, year:integer, studio:string)
Primary keys are underlined in each relation. Attribute aid uniquely identifies an actor in Actors
relation. An actor has a an id (aid), a name (attr. aname), an age (attr. age), and a city and
state(attributes city and state). Attribute mid uniquely identifies a movie in relation Movies. A
movie has an id(mid), a name(attr. mname), a year (attr. year) and a studio that produced it
(attr. studio). Relation Playsin contains information about actors who played in movies.
Attribute character = the character name of the actor with aid when playing in mid.

Write relational algebra queries for the following queries:
a) Find the information about movies produced by 'WB' or 'Universal' studios.
b) Find the names of actors who are older than 25 and are from state VT.
c) Find the names and ages of the actors who played only in movies only in 2015.
d) Find the names, age and city of actors who are from Boston MA and played some movies produced by 'Universal' studio.
e) Find the name and age of the actors who played in movies both in 2012 and 2018.
f) Find the names of the actors older than 30 who played in a movie produced by 'WB' studio in 2018.
g) Find the information about actors and movies they played in. The result should contain the name and age of actors and the name of movies.
h) Find the names and ages of actors from MA who played as character 'Batman'.
i) [CS630 only] Find the name and age of actors who played in movies produced by 'Paramount' (in any year) and never played in any movie produced by 'WB' in year 2020.
j) [CS630 only] Find names of movies in which actors from both MA and NY states played.

Reference no: EM133702912

Questions Cloud

Pharmacology course antigens-antigens-glucocorticoids : How these words connected the pediatric med surg with pharmacology course antigens, antigens, glucocorticoids,
Develop policies to implement in the event of a cyber attack : Ensure the policy is highly visible both to employees and users and Review security policy and conduct a risk assessment
Why is touch so important for animals and children : Why is touch so important for animals and children? What happens to animals and children when they are deprived of touch early on in life?
Discuss what the result would have been : Discuss what the result would have been if you kept the default 60 seconds value - Using the AWS CloudFormation docs pageLinks to an external site., find two
Find the information about movies produced : Find the information about movies produced by 'WB' or 'Universal' studios. b) Find the names of actors who are older than 25 and are from state VT
Does gen z tension between democracy and majority tyranny : Does Gen Z think about the tension between democracy and majority tyranny differently than previous generations?
What are the variables of the study : What are the variables of the study? Are they clearly defined? What is the hypothesis or research question(s)? What did the study findings conclude?
Slurred speech how to improve verbal communication : The nurse is teaching a client with multiple sclerosis (MS) who has slurred speech how to improve verbal communication.
Did the large far configuration, and why : With the current model, do you think the One Patch configuration would support more or fewer butterflies than did the Large Far configuration, and why?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd