CMIS 420 Homework 1 Online Vehicle Sales Database
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 entities shown in the ERD. Use the plural form of the entity name for your table names.
You can create your database on Nova or any other Oracle system you wish.
Populate the VEHICLES and CUSTOMERS tables in your OLTP database with at least five rows each. Your DEALERSHIPS, SALESPERSONS and FINANCING_PLANS tables should have at least three rows each. Your SALES table should have at least 10 rows, using a variety of different customers, vehicles, salespersons, dealerships and financing plans. All other tables should have at least one row each. Run SELECT * statements on all your tables after they are populated to show all contents.
Submit the following in either an SQL*Plus SPOOL file or screen snapshots of the output if using iSQL*Plus:
1) The names of all your tables from the output of the SQL statement “SELECT table_name FROM user_tables”.
2) A DESC (i.e. DESCRIBE) of all tables to show the column names.
3) The contents of all tables from SELECT * statements
4) Do NOT submit your SQL script files. Only submit the output specified in Steps #1 though #3 above.