Create the database tables as per the erd

Assignment Help Database Management System
Reference no: EM132683674

MIS602 Data Modelling & Database Design - Laureate International Universities

Two - Database programming evaluation practical

Instructions:
You are required to create the database tables as per the ERD below, and then generate the SQL tasks listed in the table.

1361_figure.jpg

Note: The following tables give you an idea of what sample data looks like:

Movie

Movie_Id

Movie_Name

Released_Year

Movie_Time

Planned_Budget

Director_Id

Genre_Id

1001

Finding Nemo

2003

107

3.5

3002

2009

1002

The Incredibles

2004

116

0.5

3003

2009

1003

Beyond the Sea

2004

118

3

3007

2006

1004

Avatar

2009

116

10

3005

2008

Genre

Genre_Id

Genre_Class

2001

Action

2002

Adventure

2003

Comedy

2007

Historical

2008

Science Fiction

2009

Cartoon

Director

Director_Id

Diector_Fame

Director_Fame

3001

John

Lasseter

3002

Pete

Docter

3003

Andrew

Stanton

3004

Brad

Bird

3005

James

Cameron

3006

Brenda

Chapman

3007

Kevin

Spacey

Task Description

Task 1 Create three tables with relevant keys as suggested in the above diagram and the sample data tables.

Task 2 Insert 10 records to Movies table.

Task 3 Insert 5 records to Director table.

Task 4 Write a query to display all the information about the Movies.

Task 5 Write a query to display the Movie_Names of all the movies.

Task 6 Write a query to display all the Movie_Names and their Planned_Budget

Task 7 Write a query to update the Movie_Time of ‘Finding Nemo' to 120 minutes. Make sure to insert some data that satisfy the criteria before executing the query.

Task 8 Write a query to display the Movie_Id, Movie_Name of all the movies with a planned budget above 3 million. Make sure to insert some data that satisfy the criteria before executing the query.

Task 9 Write a query to increase the planned budget of all Movies by 5% for all the movies with a Planned_Budget less than 5 million.

Task 10 Write a query to display the all the details of the Movies directed by Director_Id ‘3001'. Make sure to insert some data that satisfy the criteria before executing the query.

Task 11 Write a query to display all the unique Director_Fname.

Task 12 Write a query to display Movie_Name, Movie_Duration for all movies released in 2001.

Task 13 Write a query to display the list of all the Movie_Names with Movie_Time in the range of 100 - 200 minutes in Descending order.

Task 14 Write a query to count the total number of movies in the Movies table.

Task 15 Write a query to display the Director_Name and the total number of Movies produced by each Director in ascending order.

Task 16 Write a query to delete the record of the Director whose firstvname is ‘James' and last name is ‘Alex'. Make sure to insert some data that satisfy the criteria before executing the query.

Task 17 Write a query to display all the movies written by Director "James Cameroon". Make sure to insert some data that satisfy the criteria before executing the query.

Task 18 Write a query to display each Genre_Class and the total number of movies belonging to each category.

Task 19 Write a query to display all the Movie Names with ‘Animated' as the Genre.

Task 20 Write a query to display all the Movie Names and the first name of the director who directed the movie in ascending order by Director_Fname.

Task 21 Write a query to display all the Genre_Class with no Movie name associated.

Task 22 Write a query to display the movies with minimum and maximum Planned_Budget.

Task 23 Write a query to display all the Movie_Names and their director names.

Task 24 Write a query to display the details of the movie including, the Movie_Name, Planned_Budget, Movie_Genre and the Director details.

Submission Instructions

This assessment comprises of Part 1 and Part 2.

Part 1: This part is due on Week 8, Thursday 23:59 (Sydney time). It composes of the following two files, which must be submitted to Blackboard in a single zipped file.

1. SQL file (24 tasks) with outputs in a word document.
2. An Experience/Reflection report (Approximately 1000 words) in a word document summarizing your experience of doing this assignment.

Note: Following the submission of Part 1, you are also required to post the SQL file (Not experience report) onto the discussion forum. A thread has already been created in the discussion forum to post the SQL file, which you will be able to view on Week 8, Thursday 00:00 (Sydney time).

Part 2: This part is due on Week 8, Sunday 23:59 (Sydney time).
• From the pool of SQL files posted on the forum, you are required to write a short critique (Approximately 500 words) in a separate word document. Please DO NOT publish your critique onto discussion forum.
• Please note that your critique should provide constructive feedback highlighting the strengths and areas for improvement in the report. You should provide feedback on their usage of SQL commands and fulfil the following minimum requirements:
1. Comment on the overall usage of SQL statements and commands used.
2. Provide constructive criticism on how the author can improve their understanding of SQL statements.
3. Provide some useful readings the author may pursue to help in developing the understanding of SQL statements.
• Submit the critique via Blackboard by following the same submission link as in Part 1.

Attachment:- Database programming evaluation practical.rar

Reference no: EM132683674

Questions Cloud

What is the current price of the bond-pt chilo : PT Chilo has a bond with a par value of $15,000 that will be matured in 18 years. The bonds provide a coupon rate of 7% per annum that will be paid every six
Record the entries for the purchase of stock : On February 17, Walters Corporation acquired 4,000 shares of the 100,000 outstanding shares of Lycore Co. Record the entries for the purchase of stock
Define terms that are important for healthcare professionals : While the title of this course is "Medical Terminology for Health Care Professionals," it's important to understand that medical terminology encompasses.
Identifying potential improvements on individual performance : The appraisal process is one step involved in identifying potential improvements on individual performances.
Create the database tables as per the erd : Create the database tables as per the ERD - Write a query to delete the record of the Director whose firstvname is ‘James' and last name is ‘Alex'.
Maintaining the final dividend indefinitely : Mother and Daughter Enterprises is a relatively new firm that appears to be on the road to great success. The company paid its first annual dividend yesterday
Determine the interest earned by Todd Company : On May 1, 2012, Todd Company purchased $66,000 of 5%, Determine the interest earned by Todd Company on Lincoln Company bonds for 2012
Provide the December adjusting journal entry : Provide the December 31, 2012, adjusting journal entry for semiannual interest earned from the bond. Journalize the entries for these transactions
Recommend improvements to supply chain : Recommend improvements to the supply chain at your selected company using course concepts from this week's required reading.

Reviews

Write a Review

Database Management System Questions & Answers

  Identify each relationship type and write business rules

The DealCo relational diagram shows the initial entities and attributes for the DealCo stores, which are located in two regions of the country.

  What did you find most difficult or challenging

What did you find most difficult or challenging? What were some methods of troubleshooting any technical issues you've experienced?

  Write a one page paper on quantum cryptography

An enterprising group of entrepreneurs is starting a new data storage and retrieval business, StoreItRite, Inc.

  Provide explanation about each of the applied techniques

In the assignment report provide explanation about each of the applied techniques. In your Excel workbook file place the results in separate columns in the corresponding spreadsheet.

  What can be mined from such an e-mail database

What are the differences between visual data mining and data visualization? What can be mined from such an e-mail database?

  Organize and implement rdbms for ercan airport management

design, organize and implement a RDBMS for Ercan Airport Management that will store, manipulate and retrieve all airport related information. The database you will design will organize the information about all the airplanes stationed and maintain..

  Background adventure works cycles the fictitious company on

background adventure works cycles the fictitious company on which the adventureworks sample databases are based is a

  Analyze the sales data to determine the true track record

You are going to determine the percent of asking price for each home sold and analyze the sales data to determine the true track record of the company in selling homes for the asking price

  Create a data dictionary

Create a data dictionary that includes the following: A description of the content for each field, The data type of each field, The format the data will be stored as in the field

  Aspect of database or enterprise systems

Find one or more current articles (last six months) describing on aspect of database or enterprise systems. Summarize the article(s) and provide your own perspective, and then browse through the other student posts to learn about other related tec..

  How to provide the necessary data to the researcher

What steps are required before the researcher can obtain any data - What would be the applicable policy and regulations based on the module lecture notes

  Create a query using the simple query wizard

Start Access. Open the downloaded Access file named exploring_a02_grader_h1. Create a new table in Datasheet view using the name Donations. Switch to Design View and change ID to DonationID. Add the following field names to the table: DonorID, Plan..

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