Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Management Information System Expert

Instructions

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. Do NOT submit your SQL script files. Only submit your output SPOOL files. 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.

Management Information System, Management Studies

  • Category:- Management Information System
  • Reference No.:- M91988004
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Management Information System

Assignment wireless technologythere are a number of

Assignment : Wireless Technology There are a number of cellular phone companies each serving their own unique geographical areas. Likewise, they each may use a different technology to transfer communication. Research the ...

Answer the following questions 1 how can the internet and

Answer the following Questions : 1.) How can the Internet and ICT (Information Communication Technology) be leveraged to solve the following societal problems (Climate Change, Better Roads and Transportation, Sexism, and ...

In roughly 200 words -discuss how the roles and functions

In roughly 200 words - Discuss how the roles and functions of IS governance are changing or should change, as a company considers Cloud and Big Data migrations (Hints: focus on information quality, information systems an ...

Discussionnbsp 300 words with 2 referencesyou have been

Discussion  : 300 Words with 2 references You have been working for four years in a bank branch located in the front section of a large grocery store. For the last two years, the branch has been underperforming and a poo ...

The it department of your company has begun to appreciate

The IT department of your company has begun to appreciate that its projects do not exist in a business vacuum. That is, your company must also commit resources to operations, shareholder returns, and non-IT projects for ...

Question how customers could effectively use emerging

Question : How customers could effectively use emerging technology to win over its customers. APA format required. 250 words essay required. turntin check require. The response must be typed, single spaced, must be in ti ...

Question 1 what is phase change memory and why are its

Question : 1. What is "Phase Change Memory" and why are its potential applications a significant impact? Who are the major players in this field? Who might be in the near future? 2. What is the definition of "emergent" a ...

The main project in this project you are either work on the

The main project: In this project, you are either work on the hypothetical company or an existing company. In either case, you are supposed to develop a Business Intelligence Development Plan for a local corporation. In ...

Case study design scenario - a read the harriets fruit and

Case Study : Design Scenario - A Read the Harriet's Fruit and Chocolate Company case study found in Chapter 2 of the textbook. Then, answer the questions below. Each response should be one (1) paragraph in length submitt ...

Answer the following questions 1 you have been asked to

Answer the following Questions : 1. You have been asked to test the disaster recovery plan for a small business in your area. The company has a break up plan that is well documented. 2. Describe the steps you would use t ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As