Populate vehicles and customers table with at least ten rows

Assignment Help Database Management System
Reference no: EM131123618

Assignment

You are part of a development team with Ace Software, Inc. who has recently been contracted to develop various database capabilities for Online Vehicle Sales, Inc. (OVS). OVS is a startup "dotcom" with about 10 dealership locations in Maryland, Virginia and Washington, D.C. They sell new and used cars (compacts, midsizes and full-sizes), sport utility vehicles (SUVs) and light trucks. Currently their business is just based on customers visiting one of the 10 dealership locations in person, but soon they plan to move the bulk of their business the Internet. Initially they have expressed a desire to have a custom OLTP database, and a custom DSS database, designed and built by your company. Each dealership has a staff of salespersons who assist customers in the purchase of different types of vehicles for which various financing plans are available. New and used vehicles are provided to each dealership based on sales and inventory needs.

An ERD for a 3NF normalized online transaction processing (OLTP) relational database for this application is provided.

Using an SQL script file create Oracle tables for the CUSTOMER, VEHICLE (i.e. SALE_VEHICLE, and SALE) entities shown in the ERD. Use the plural form of the entity name for your table names (i.e. CUSTOMERS, VEHICLES, and SALES). Note that you are using the SALE_VEHICLE entity to create a VEHICLES table. Ignore the TRADE_IN_VEHICLE entity. You will create tables for some of the other entities in upcoming assignments.

You must include all necessary integrity constraints including primary keys, foreign keys, CHECK constraints, UNIQUE constraints, and NOT NULL constraints. It is a good practice, but not required, to explicitly name your constraints.

You can create your database on Nova or any other Oracle system you wish, but you must use the Oracle RDBMS.

Populate the VEHICLES and CUSTOMERS tables with at least ten rows each.

Populate your SALES table with at lease ten rows.

Run SELECT * statements on all three tables after they are populated to show their contents. To prevent excessive wrapping you might consider using the SQL*Plus LINESIZE and COLUMN commands.

Submit the following in either an SQL*Plus SPOOL file or screen snapshots of the output if using SQL Developer or another GUI.:

1) All of your DROP TABLE, CREATE TABLE, and ALTER TABLE SQL statements as they executed and the Oracle responses.
2) All of your INSERT SQL statements as they executed and the Oracle responses.
3) The contents of all tables from SELECT * FROM tablename; statements.

Do NOT submit your SQL script files. Only submit the output specified in Steps #1 though #3 above in a single SPOOL file or Word file.

You must include a SET ECHO ON SQL*Plus statement in your SQL script file to ensure that all the SQL that is executed is displayed in your SPOOL file.

Do NOT submit additional files as this only complicates the grading, and may result in lost points.

Your submission MUST be in a single Word or PDF file with all steps numbered and in order.

Reference no: EM131123618

Questions Cloud

Who was the first woman to successfully climb : The Matterhorn was the last major mountain of the Swiss Alps to be climbed. Who was the first woman to successfully climb the Matterhorn in 1871?
What is the name of the study of the function of the body : What is the name of the study of the function of the body and body parts? An investigator who conducts an experiment to determine how the rate at which the heart beats is affected by temperature changes is most likely to be a(an)
What was the name of the cristopher columbus : What was the name of the Cristopher Columbus flagship - the ship on which Columbus travelled in his 1492 voyage to the new world?
What is the r-value : Explain the conclusion reached in the paper. What is the r-value? How would you describe the relationship between the variables? What conclusions did the authors draw?
Populate vehicles and customers table with at least ten rows : You can create your database on Nova or any other Oracle system you wish, but you must use the Oracle RDBMS. Populate the VEHICLES and CUSTOMERS tables with at least ten rows each. Populate your SALES table with at lease ten rows.
The authors discuss emotional intelligence : In this week's readings, the authors discuss emotional intelligence, a concept which measures people's ability to understand emotions and express them appropriately. As you have learned, this ability is crucial to communicating effectively in int..
How much or how little their life is mcdonaldized : To what extent is your life McDonaldized? Students will critically analyze their everyday life using the four principles of McDonaldization (efficiency, calculability, predictability, and control) to answer this question in a series of four (4) jo..
Find the x-coordinate of the centroid of the plate : Find the x-coordinate of the centroid of the plate.
Design pseudo code for a program that accepts insurance data : Design a flowchart or pseudo code for the A program that accepts insurance policy data, including a policy number, customer last name, customer first name, age, premium due date (month, day, and year), and number of driver accidents in the last thr..

Reviews

Write a Review

Database Management System Questions & Answers

  Fetch customers from germany-mexico

1) Fetch all the customers that are not from region 'BC' or 'SP' 2) Show all customer contact names and titles for the business owners who are from Germany or France 3) Fetch customers from Germany, Mexico and Sweden

  Do a requirements analysis for the case study

To apply and consolidate skills acquired in the requirement and analysis disciplines through analysis of a simple case study, and to express the results through the relevant UML diagrams. ITC203

  Concept of non-deterministic finalization

From constructor to destructor (taking into consideration Dispose() and the concept of non-deterministic finalization), what the are events fired as part of the ASP.NET System.Web.UI.Page lifecycle. Why are they important? What interesting things ..

  Key functions of organization-map to strategic information

From information system point of view, we should take the key functions of organization and map them to strategic information. Do your companies follow this process or are steps skipped?

  Create an entity relationship diagram

Create an entity relationship diagram by today for an automated web-based timesheet portal system - An Entity-Relationship Diagram of an automated payroll system for a company.

  Display full details of all attributes in the author table

Display full details of all the attributes in the AUTHOR table. Display the last name and first name for all the authors in the AUTHOR table and sort all records by last name order ascending.

  Create a database for wild woods apartments

The objective is to create a database for Wild Woods Apartments that can help them organize all of their properties information into one system t help streamline some of the work both the onsite managers have to do as well as the cooperate workers

  Describes how the proposed system is to be built

Create a company and choose a product. Use the SDLC to define an ES system that integrates TWO of the process for this product. Identified above works with the current and future system users to define and model the current business processes in det..

  Write the sql ddl to create the database

The appropriate SQL commands, which should be copied from your source code in MySQL, and pasted into your submission file; and The resultant tables, which must be screenshots to show the change due to the execution of commands

  Importing namespace system. io. import system. io

Create an application that stores people's names and birthdays in a file (Fig. 23.40). The user creates a file and inputs each person's first name, lastname and birthday on the Form. The information is then written to the file.

  Create a database design

Create a database design (schema) based on the following problem description.

  Create a flowchart and pseudocode using control breaks

The system should store the current inventory levels for different raw materials in a file.

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