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

  Report the last letter of each word in the string

Write a sequence of Java statements that report the last letter of each word in the string.

  Program to convert fahrenheit to celsius

Layout the planned structure and steps to accomplish the individual programs. Ensure brief, accurate and complete detailed instructions in the form of pseudocode, not code. Construct two brief explanations for the pseudocode. Provide both programs..

  Create a splash screen for the tgc application

To complete your splash screen please use the information below: Create a splash screen for the TGC application that displays: the application's name.

  Java program using the net beans ide

For this Assignment, you will update an existing Java program using the NetBeans IDE. You will use the NetBeans Integrated Development Environment to make changes to an existing NetBeans Java Project.

  What is polymorphism concept means and give an example

what this concept means and give an example to illustrate your understanding of the topic. You must use Java classes and Java interfaces to help with your description.

  Cmpet 301 lab 11 overview

CMPET 301: Lab 11 Overview, Create a class for one playing card. Make a deck of playing cards by instantiating an array of 52 playing cards playing cards.

  Analyze a current event

Analyze a current event ( you may use an article from the Wall Street Journal, Financial Times, or New York Times, published this week) using any of the principles that you've learned in this class. 2 pages, double spaced, cite article.

  Write an application named us insurance

Write an application named UseInsurance that uses an abstract Insurance class and Health and Life subclasses to display different types of insurance policies and the cost per month.

  What was in mind of the coder in each part of the code

Need a video that goes through all this java code - as if it was a tutorial showing it line by line - and explain in detail the structure of it all as if you code it yourself.

  Your task is to design and implement a sorting

your task is to design and implement a sorting algorithmalgorithm that can sort nonnegative integers that fall within

  An infix to postfix method for my java program.

an infixToPostFix method for my java program. The method must work with stacks and it should take a string as parameter. The method should be able to convert to postfix mathematic expressions such as: (12 + 4) - 23(9-6)/12. Treat the parenthesis as l..

  Write a java applet that views staff information

Write a Java applet that views, inserts, and updates staff information stored in a table Staff in an Oracle Database. The View button displays a record with a specified ID

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