To implement the database 1. Translate the ER diagram provided into a relational schema using the correct notations and standards for this course. It should include: a. Table names b. Attribute names...


To implement the database
1.    Translate the ER diagram provided into a relational schema using the correct notations and standards for this course.  It should include:
a.    Table names
b.    Attribute names and field types (as required by XAMPP)
c.    Primary and foreign keys identified
2.    Create a text file called nnnn_create.sql (where nnnn is your student number).   The file should include:
a.    The SQL statements to create a database called Startstruck_Entertainment_nnnn.txt (where nnnn is your student ID)
b.    The SQL statements to create the tables and the relationships between them.

3.    Create a text file called nnnn_insert.txt (where nnnn is your student number).  The file should include:
a.    The SQL statements to load sufficient data into each table you have created to test the queries given below.  Sample data has been provided, but you will need to include further data to test the requirements.  You should add at least one record to the existing test data for each table.
b.    You are required to include your name as one of the customers (you don’t have to have your address if you don’t want to), but you MUST have your name and give your student id as the phone number.

4.    Create a text file called nnnn_query.txt (where nnnn is your student number).  The file should include the SQL statements necessary to display the following reports:

a.    List all details of all the suppliers, sorted by suburb in ascending order.
b.    List all the titles of all the movie items in inventory with their supplier’s name, email, phone number and suburb.
c.    List all the actors who are still alive. Print their name as ONE column with a suitable heading, and their age in years.







Oct 07, 2019
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here