Physical design and implementation

Assignment Help JAVA Programming
Reference no: EM131057885

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.

Project 2 Details:

  1. 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. You should test your script to make sure it runs without error.  Capture the script output showing that all SQL in your SQL script file worked properly.
  2. Provide two examples of SQL DML (i.e., "INSERT") commands that fail different table integrity constraints you set up in your tables.Explain why the statements fail.Do not include failures due to syntax errors. You should include comments in the SQL script describing why the insert statements failed.  Capture the script output showing that all SQL in your SQL script file worked properly.
  3. 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. You should test your script to make sure it runs without error. Capture the script output showing that all SQL in your SQL script file worked properly.
  4. Write SQL to perform the following queries and updates. 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 
    • 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.

You will have to submit two things:

  • a text file containing all the SQL statements that you created for this project: CREATE TABLE, INSERT, SELECT, UPDATE, DELETE. Include comments in the file to indicate what each section of the file represents. This is the content of your SQL Developer's Worksheet window related to the UMUC Oracle connection
  • a text file with the results of running your SQL statements. This is the content of your Script Output panel in SQL Developer.

Please use .txt extension for your files, not .sql.

Reference no: EM131057885

Questions Cloud

Develop a full project management plan : PROJECT MANAGEMENT - one of your team member's scoping phase of their project proposal is now complete and you have been given the go- ahead to develop a full Project Management Plan
Find the names of all branches located in chicago : Find the names of all borrowers who have a loan in branch "Downtown".
Calculate the average of two values : Write a program to calculate the average of two values. Initialize the two values to be averaged in main. Pass these two values as parameters on the stack to the average procedure.
Develop an essay on diet and health in middle ages : Develop an essay on "Diet and Health in Middle Ages". Develop an essay on "Weapons and Armor Middle Ages". Develop an essay on "Black Death 14th century". Develop an essay on "Rennaisance".
Physical design and implementation : 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.
Perform an internet search : Perform an Internet search for Java® applets. Explore various websites that feature free Java® applets. Write a 400- to 500-word paper, addressing the following:
Rudimentary form of protection : How does the distinction between kernel mode and usermode function as a rudimentary form of protection (security) system?
Operating systems for mainframe computers : What are the main differences between operating systems for mainframe computers and personal computers?
Distributed computing applications : Distributed.net (www.distributed.net) is an organization that coordinates research on distributed computer applications. People and organizations can join Distributed.net and contribute idle computing power to ongoing research projects that requir..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Implement a standalone desktop game

Description - The goal of the class project is to implement a standalone desktop game. This game is a 2D game cop and robbers game, called RIC Racers, which is closely modeled after the C.A.P online flash game Robbers vs. Cops

  In this assignment you will be asked to implement a card

in this assignment you will be asked to implement a card game. you will need to make several design decisions for your

  Description of routes and services

Write a method for finding a journey from one station to another using an algorithm that is specified below in this handout.

  Write a java program to accept integer values

Write an algorithm, draw a flow chart and write a java program to accept integer values from keyboard and will find and print the minimum, maximum, summation and average of entered numbers when the number entered from keyboard is smaller than 1

  Write a statement that writes both of their values

Given an interger variable i and floating-point variable f, write a statement that writes both of their values to standard output in the following format: i=value-of-i f=value-of-f.

  Eclipse or netbeans environments

As recommendation, you can try to use Eclipse or NetBeans environments that are used also for other courses as: Introduction in Java programming and Intermediate programming.

  Inheriting from the jframe class

What is the difference between inheriting from the JFrame class and using a JFrame member variable?

  Problem regarding the initializing static fields

Why do static ?elds of a class have to be initialized when the class is loaded? Why can't we initialize static ?elds when the program starts? Give an example of what goes wrong if, instead of static ?elds being initialized too early, they are init..

  Designing a program with a while loop

The section entitled "In the Spotlight", "Designing a program with a while loop" describes the requirements for a project at Chemical Labs, Inc. Write a letter to the Director of Engineering that describe your concerns, if any, regarding these re..

  Portable file system implement a portable file system with

implement a portable file system with java language. i do have some requirements.implement a portable file system pfs.

  Write an applet that includes a pie chart

Write an applet that includes a pie chart. Use a news article with statistics that are good candidates for a pie chart: for example, political candidate preferences; percentages of those for, against, or undecided about a ballot measure; and so for..

  Difference between the two website forms

What was the main difference between the two website forms? Would the "NC Veterans Memorial" website benefit from the use of a Contact Us form? If so, why, and what fields should be included in the form?

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