Write a sql query that displays cinamaname and branchaddress

Assignment Help PL-SQL Programming
Reference no: EM131307768

Assignment- Relational Database Design & Implementation

Important Note:

You are required to submit an electronic copy to ilearn as well as a hard copy of your assignment to the assignment box allocated in the ground floor of E6A by the due date.

Task Specifications

Task 1- Logical Database Schema Design

Based on the following provided sample solution for the diagnostic assignment, turn it into relational database schema indicating primary key for each table and foreign key if there is any in each table and the primary key that it refers to in another table.

(Note: the figure is small, please enlarge it on the screen or print it)

Task 1- Normalization & DDL

Look into the data provided in excel
List all the functional dependencies
Identify all the candidate keys.
Which normal form is this in?

Convert from INF to BCNF (Show the conversion from one NF to another along with the dependencies)

Create tables based on your normalized form[ in Oracle-SQL developer]

Task 2- SQL Queries

Write a SQL query that displays the CinemaID, CinamaName and email of Cinema that have more than 2 branches or a branch in the Suburb of ‘Greyjoy'

Write a SQL query that displays BranchAddress, CinemaName and PhoneNumber of the branch that has postcode that starts with 2 or 6

Write a SQL query that displays CinamaName, BranchAddress, Session Date(dd-month-yyyy format), Movie StartTime and date where any French movie is being screened. Sort the result by CinemaName descending

Write a SQL query that displays CinamaName, BranchAddress, ScreenName, MovieName, YearReleased and Language that screens either a Spanish Movie or a German movie in afternoon or evening session

Write a SQL query that displays CinamaName, BranchAddress and the number of screens that are scheduled to screen ‘The Hundred-Foot Journey.

Reference no: EM131307768

Questions Cloud

How much money was granted toward the state : Find out how much money was granted toward the state, where it went, and what kinds of recovery and mitigation measures it covered.
When does a disaster require international involvement : What percentage of all disaster-related injuries and deaths are sustained in countries with per-capita income levels below $760 per year?
Goal of international decade for natural disaster reduction : What are the four important issues influencing the response process that are listed in this chapter?- What was the goal of the International Decade for Natural Disaster Reduction?
Discuss about the blumbergs nursing home case : Considering the reason behind the termination of the employees, formulate a human resources policy that addresses inappropriate conduct in the workplace, the process of reporting inappropriate conduct, and the consequences of violating the policy...
Write a sql query that displays cinamaname and branchaddress : Write a SQL query that displays CinamaName, BranchAddress, Session Date(dd-month-yyyy format), Movie StartTime and date where any French movie is being screened. Sort the result by CinemaName descending.
What is the purpose of the undp recovery unit : What is the purpose of the UNDP Recovery Unit? - What are the three main groupings of disaster response performed by UNOCHA?
What is unreasonable about this result : The manufacturer of a smoke alarm decides that the smallest current of α radiation he can detect is 1.00 µA .
What are the four common characteristics shared by the ngos : Name the various classifications of nongovernmental organizations, and describe each.- What are the four common characteristics shared by the NGOs?
Determine what percentage of the appeal has been funded : From this list, try to determine why some countries ' appeals are fully funded, while others fall very far short of their request. Is this an issue of inequality in relief distribution, or is it something else?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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