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

  Write program in java-calculate and display mortgage payment

Write the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage.

  Define method headers for computeaveragesales

Define method headers for computeAverageSales() and computeShipping Charges() according to the following requirements. Develop pseudocode for two new methods to be added to your product class

  Mean and standard deviation using using eclipse

Java programming to calculate Mean and standard deviation using Using Eclipse.

  Exceptions-memory management and concurrency

This question asks you to compare properties of exceptions in C++ and Java.

  Write a program that shows the current time and date

Write a program that shows the current time and date

  Write a java program to demonstrate the use of inheritance

Write a Java program to demonstrate the use of inheritance, polymorphism, interfaces and transaction processing. This program will also use the Vector class.

  Modify the java application using java netbeans and ide

Modify the Java application using Java NetBeans IDE to meet these additional and changed business requirements: The company has recently changed its total annual compensation policy to improve sales.

  Explain the difference between throwing an exception and

question 1. what is the difference between throwing an exception and catching an exception?question 2. how does a

  Write java program to select pine for furniture company

Write down the Java program for the furniture company. Ask user to select P for Pine, O for Oak or M for Mahogany.

  How many test cases did you use to test your application

How confident are you that your application will not crash if given to a professional test organization to test?

  What does the class hierarchy of the applet class look like

My applet runs fine with appletviewer but not in the browser, what can be the problem? What does the class hierarchy of the Applet class look like?

  Develop a program that plays "five card stud"

Develop a program that plays "Five Card Stud". The user plays agains the computer. The program will "deal" five cards to the user and itself. Whoever has the highest hand wins. Inform the user who has won that hand, and ask if the user wants to pl..

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