Relational database concepts and applications

Assignment Help Database Management System
Reference no: EM13330737

CMIS 320 6381 Relational Database Concepts and Applications (2148)
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.

Each of the steps below requires a SPOOL file to be submitted. Be sure your SPOOL file contains your SQL statements along with the Oracle responses and/or displayed results. If you are using iSQL*Plus you must screen snapshots as necessary of your SQL and the results.

Project 2 Details:Create Oracle database tables using SQL Data Definition Language (DDL) for each table listed in Project 1. 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. Your CREATE TABLE statements must show integrity constraints, as appropriate, for NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, REFERENCES, and CHECK constraints. Be sure to save your script used to create these tables as yournameproject2step1.sql. You should test your script to make sure it runs without error. Submit your SPOOL file showing that all SQL in your SQL script file worked properly.
Provide two examples of SQL DML (i.e., "INSERT") commands that fail different table integrity constraints you set up in one of your table. Explain why the statements fail. Be sure to save your script used to as yournameproject2step2.sql. You can include comments in the SQL script describing why the insert statements failed. Submit your SPOOL file showing that all SQL in your SQL script file worked properly.
Populate each of your tables with at least five valid rows of data each and show the SQL you used. Populate other tables in your database, as necessary, to satisfy referential integrity. Be sure to save your script used to create these records as yournameproject2step3.sql. You should test your script to make sure it runs without error. Submit your SPOOL file showing that all SQL in your SQL script file worked properly.
Write SQL to perform the following queries and updates. Be sure to save your script used to create these records as yournameproject2step4.sql. You should test your script to make sure it runs without error:
Retrieve all of your customers' names, account numbers, and addresses (street and zip code only), sorted by account number.
Retrieve all of the videos rented in the last 30 days and sort in chronological rental date order.
Produce a list of your distributors and all their information sorted in order by company name.
Update a customer name to change their maiden names to married names. You can choose which row to update. Make sure that you use the primary key column in your WHERE clause to affect only a specific row.
Delete customers from the database. You can choose which row to delete. Make sure that you use the primary key column in your WHERE clause to affect only a specific row.
Submit your SPOOL file(s) showing that all SQL in your SQL script file worked properly. Show the actual SQL statements executed and the results the SQL produced below the code. Submit all of your files, spool and SQL.

Reference no: EM13330737

Questions Cloud

Various message execution styles : Following are the various messageexecution styles that are being used in the advertisingcampaigns:
Given two variables is_empty which is associated with a bool : Given two variables is_empty which is associated with a bool
What is the return value of the following code : What is the return value of the following code?
Write the code to play a number guessing game : HW#5:Write the code to play a number guessing game.
Relational database concepts and applications : Relational Database Concepts and Applications
Why is network security particularly difficult to achieve : Why is network security particularly difficult to achieve?
Evaluates and makes recommendations to address : Evaluates and makes recommendations to address differences in ethical codes of information technology conduct in different cultures in a very clear and detailed way.
Prepare a variable costing income statement for 2012 : Prepare a variable costing income statement for 2012 - calculate Polk's manufacturing cost per unit for 2012. (Round answer to 2 decimal places, e.g.10.50.)
List the names of all the business layer classes : Create the application class using an appropriate application name. This name must reflect the whole solution for software development 3.

Reviews

Write a Review

Database Management System Questions & Answers

  Create database that implements the proposed data warehouse

Knowing the customers for targeted advertising. The board would like to know which type of customers (age or gender) are more interested in which types of cars (type)

  Implement a program to query and update the text database

Implement a program to query and update the text database for a library using a client/server model allowing multiple clients safe access to the database, and using a producer-consumer model to control the inventory of each item.

  Create a set of dependency diagrams for the abs database

Consider a case that is not described above, but could happen in the business of the ABS. Please explain the case and why it might occur and based on the case you proposed, modify your design of the ABS database accordingly.

  Create the primary key and foreign keys using a uml class

In order to move forward, the local university will need to develop a data model that will retain student records and perform various data extract transform and load (ETL) processes.

  Er diagram and database schema

To analyse and comprehend a provided ER diagram and Database Schema and implement a database based on the provided ER diagram and Database Schema

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

  What are the candidate keys of r

Compute the closure sets of R - find all non-trivial dependencies and what are the candidate keys of R?

  Create erd models

Select one of the Real World Scenarios and use the experience you have that is related to the scenario you have chosen or research online; and then post your comments and solutions about your experience.

  Design update trigger on part table which raises error

Design the Update trigger on Part table which raises an error string if Count field of updated row has a higher value than value prior to Update.

  Perform large number of client-server requests into database

A small business with 100 computer workstations is installing a new local area network. All of the users perform the usual operations of e-mail. State your reasoning. Draw a floor plan for each If possible, show both floor plans on one page.

  Diagram and determine the possible iterative steps

Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps / factors that one must consider in this process with consideration of the HR core functions and responsibili..

  Describe the various network implementations

The marking scheme, which is given in detail below, particularly rewards the way in which you relate your specific proposals to the material presented in the Course.

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