Create Oracle database tables using SQL DDL

IN PROGRESS
Bids
30
Avg Bid (USD)
$107
Project Budget (USD)
$30 - $250

Project Description:
In this project you will perform the physical design and implementation using SQL Data Definition Language (DDL) and proceed with populating the Mom and Pop Johnson Video Store database via Data Manipulation Language (DML) SQL commands.

The ERD and detailed documentation from Project 1 will be supplied for your entry point for those who need it.

Project 2 Details:
Part 1
i. Create Oracle database tables using SQL Data Definition Language (DDL) for each table listed in Project 1.
ii. Make sure that entity and referential integrity are enforced by declaring a primary key for each table (these may be composite keys) and declaring all appropriate foreign keys.
iii. Your CREATE TABLE statements must show integrity constraints, as appropriate, for NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, REFERENCES, and CHECK constraints.
iv. Be sure to save your script used to create these tables as yournameproject2step1.sql.
v. You should test your script to make sure it runs without error.

Part 2
i. Provide two examples of SQL DML (i.e., "INSERT") commands that fail different table integrity constraints you set up in one of your table.
ii. Explain why the statements fail.
iii. Be sure to save your script used to as yournameproject2step2.sql.
iv. You can include comments in the SQL script describing why the insert statements failed.

Part 3
i. Populate each of your tables with at least five valid rows of data each and show the SQL you used.
ii. Populate other tables in your database, as necessary, to satisfy referential integrity.
iii. Be sure to save your script used to create these records as yournameproject2step3.sql.
iv. You should test your script to make sure it runs without error.

Part 4
i. Write SQL to perform the following queries and updates.
a) Retrieve all of your customers' names, account numbers, and addresses (street and zip code only), sorted by account number.
b) Retrieve all of the videos rented in the last 30 days and sort in chronological rental date order.
c) Produce a list of your distributors and all their information sorted in order by company name.
d) Update customer names to change their maiden names to married names. You can choose which records to update.
e) Delete customers from the database. You can choose which records to delete.

ii. Be sure to save your script used to create these records as yournameproject2step4.sql.
iii. You should test your script to make sure it runs without error:

Skills required:
SQL
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 100
in 0 days
$ 50
in 1 days
$ 40
in 0 days
$ 50
in 1 days
$ 70
in 2 days
$ 50
in 1 days
Hire tarun1487
$ 150
in 5 days
Hire sreeku00
$ 100
in 1 days
$ 100
in 3 days
Hire sushantasahoo
$ 50
in 3 days