Find the names of actors who have worked in titanic movie

Assignment Help Basic Computer Science
Reference no: EM133246008

Consider the following Schema.

Actor (aId: integer, aName: char, dob: date, phone: integer, email: varchar, address: varchar)

Movie (mId: integer, title: char, startDate: date, endDate: date, releaseDate: date, cId: integer, cost: integer)

Cast (mId: integer, aId: integer, role_name: char)

Category (cId: integer, name: char, type: char)

Write down the following Queries in SQL.

1. Find the names of actors who have worked in Titanic movie. (Titanic is the title of movie)

2. Find the minimum cost of the movie whose names starts with 'A'.

3. Find the names of those movies which belong to non-animated movies. (non-animated movies is the Category of movie)

4. Find the aIds of actors who have been casted in some romantic or some action movies. (romantic and action is the title of movie)

5. Find the aIds of actors who worked in some comedy and some adventurous movies. (comedy and adventurous is the title of movie)

6. Find the name of top 10 actors which have been casted maximum no. of times.

7. Create a view to find the name & no. of movies for each category type.

8. Create a view which print the names of actors who have been casted in romantic movies or are at 44 Street 12 Avenue.

b) Write down the following Queries in relational algebra.

1. Identify all movies who fell in all categories.

2. Produce a status report on actors casted.

c) Privileges are granted by user "Alex" in the given schema of a relational database to users "Bob" and "Mary"

Reference no: EM133246008

Questions Cloud

Create block containing variable : Challenge 2-2 create a block containing a variable that can hold a y or an n to indicate whether a newsletter should be mailed
Data sets and associated dictionaries : Summarize one real-world business report that can be created from the attached Data Sets and Associated Dictionaries. Describe the data used for the report.
Good for hosting microbrewery tours : Find which cities would be good for hosting microbrewery tours. A city must have at least 10 breweries to be considered.
Describe briefly database application : Describe briefly a database application case of your choice and represent your data in terms of 3 linked (via foreign key/s) tables.
Find the names of actors who have worked in titanic movie : Find the names of actors who have worked in Titanic movie. Find the name of top 10 actors which have been casted maximum no. of times.
Each employee who works for bigbank. : Find the ID and name of each employee who does not work for "Big Bank" Find the ID and name of each employee who works for "BigBank".
Elaborate how how limit orders work : This expectation permits brokers to more readily control the costs they exchange. Elaborate how How Limit Orders Work.
Northwind database Solve Basic Sql : Northwind database Solve Basic Sql. Display orderID and the corresponding company name. Display average price of products for each supplier ID.
Exchanging methodology : A short call is a choices position taken as an exchanging methodology when a broker accepts that the cost of the resource hidden the choice will drop.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Difference in publishing journal article and book chapter

What is the difference between publishing a Journal Article and Book Chapter? What does peer-reviewed means?

  Stack object data structures do not contain code

Stack object data structures do not contain code to throw an exception when a stack.pop() function is called on an empty stack. This is due to the fact that it is easy to establish this exception handing elsewhere. Create a class named SafeStack that..

  Company annual report on the internet

Select one of the two companies you identified above. Locate the company's annual report on the Internet. What is the company''s mission statement or overriding objective?

  Robustness analysis diagrams

You need to contribute at least two Robustness Analysis diagrams( student, advisor) to the model.

  Will the thread change state if it incurs a page fault

Will the thread change state if an address reference is resolved in the page table? If so, to what state will it change?

  Areas and any objective of the tax policy

Research the government's tax/subsidy policy in these areas and any objective of the tax policy.

  Describe how security is influenced by the nsa

Describe how security is influenced by the NSA and their use of super computers to crack your data encryption.

  Discuss the benefits of virtualization software

Discuss the benefits of virtualization software, as described in the text. Do you agree/disagree with these benefits, or can you think of additional benefits

  Variables does the data frame have

How many variables does the data frame have? How many rows does the data frame contain?

  Impact of browsers on web design

Due to the internal style sheets of some browsers, your Website may look different to someone who is using Firefox as opposed to Internet Explorer. Imagine that you are a Web designer. Explain how would you address this problem and eradicate these..

  About specialized functions

Specialized Functions

  Regionally produced goods and services effectively

How can we expand demand for locally/regionally produced goods and services effectively?

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