Creating a table named inventory

Assignment Help PL-SQL Programming
Reference no: EM13924490

1. You have been asked by the owner of a pre-owned car dealership to set up a way to track the cars in his inventory. He often needs to search his records for specific makes and models or cars made in certain years. He also wants to be able to generate reports based on his sales and reports on which sales representatives are doing the most business.

2. Create a new Access database and set up a table named Sales Rep. Be sure to create attributes, set a primary key, select data types, and add descriptions as necessary. Use the following information:

Rep Number Last Name First Name Address City State ZIP Phone

1 Perry Jim 3453 E. State Jacksonville FL 32231 904-555-4353
2 Bauer Evan 5347 W. Grand Jacksonville FL 32232 904-555-3423
3 Dickens Billy 2351 S. Ferguson Jacksonville FL 32232 904-555-5632

3. Create a table named Inventory using the instructions above. Use the data shown below, with the following guidelines:

a. Set up an auto number to use for a primary key.

b. Use a drop-down list to enter the condition. Possible conditions are Excellent, Good, Fair, and Poor.

Make Model Yr Description Condition Cost Selling Price Date Arrived Date Sold Sales Rep
Pontiac Grand Am 2005 4-Door, Red Excellent $8,000 $9,990 5/5/08 6/1/08 Perry
Lincoln Town Car 2001 2-Door, White Good $5,500 $5,995 4/15/08 4/20/08 Dickens
Chevrolet Cavalier 2005 4-Door, Blue Excellent $7,000 5/15/08
Toyota Corolla 2001 4-Door, Black Fair $4,000 $4,500 5/1/08
Ford Tempo 2002 2-Door, Red Poor $2,000 $2,300 5/5/08
Chevrolet Lumina 2005 2-Door, White Excellent $8,500 5/12/08
Ford Focus 2003 5 Speed, Black Good $6,500 $7,000 4/20/08 4/30/08 Perry
Ford Escort 2000 2-Door, White Excellent $5,500 5/3/08
Plymouth Neon 2001 4-Door, Blue Good $6,500 5/1/08

4. Create a one-to-many relationship between SALES_REP and INVENTORY.

5. Create a form to enter and edit inventory information. You decide on the design of the form.

6. Enter the following record into the Inventory table using the new form:

Make Model Year Description Condition Cost Selling Price Date Arrived Date Sold Sales Rep
Ford Taurus LX 2003 Wagon, Gray Excellent $8,200 5/20/07

7. The Chevrolet Lumina was sold on 5/20/08 by Bauer for $9,300. Update the record using the form.

8. Create the following reports using whatever method you prefer. Format the reports so that information is easy to find, give each report an applicable title, and include the date and your name on the report. Hint: You need to create a query to obtain the desired information, and then base the report on the query.

a. All vehicles available for sale with a selling price less than $6,000, sorted by cost in descending order.

b. All vehicles sold, grouped by Sales Rep.

c. All vehicles made by Ford and Toyota.

Reference no: EM13924490

Questions Cloud

How expensive home mortgage can you afford : Suppose you have budgeted $ 1175 a month towards a mortgage. If you are offered a 30 year mortgage at an interest rate of 7.5%, how expensive a home mortgage can you afford?
Disappointment and maintain a positive relationship : 1. Because of the legal implications involved in refusing credit, you should avoid telling applicants the specific reason(s) why you must deny them credit 2. A company plans to downsize over the next year. Which of the following would be the BEST ..
How much money did he have for retirement : Eugene began to save for his retirement at age 33, and for 10 years he put $ 325 per month into an ordinary annuity at an annual interest rate of 12% compounded monthly. He left the money in this account for 22 years until he was ready to retire. How..
A series of coordinated, related, multiple projects : A series of coordinated, related, multiple projects that continue over extended time intended to achieve a goal is known as a:
Creating a table named inventory : Create a table named Inventory using the instructions above. Use the data shown below, with the following guidelines:
How does this program fit with your personal goals : Describe how your academic background has prepared you for the course you have chosen. How does this course fit into your overall academic goals and requirements?
How expensive car can you afford : Suppose you can afford to pay $ 250 a month for 9 years towards a new car with no down payment. If the current interest rates are 4.25%, how expensive a car can you afford?
Seaside enterprises issued bonds with a face value : What item(s) in the table would appear on the 2014 statement of cash flows?
Compute the mean daily return for each stock : Compute the mean daily return for each stock and the standard deviation of daily returns. Compute the daily percentage price returns for each: Avon Products, Inc. (AVP), Best Buy Inc. (BBY), and Cisco Systems (CSCO).

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a form that enables a librarian to enter the details

When the database is set up it should be populated with the data that you have chosen. Display this data as part of your documentation. Each table should have from 3 to 6 records initially.

  Analyse er diagram and database schema

Display the structure details for which the smallest total billable activity (time) has been performed in the last month - Display details of all employees (number, name) for whom billingrecords have been created when they are not identified as havi..

  Script that creates and calls a function named

Write a script that creates and calls a function named fnDiscountPrice that calculates the discount price of an item in the OrderItems table (discount amount subtracted from item price). To do that, this function should accept one parameter for th..

  Part a - entity-relationship diagram erd draw an

part a - entity-relationship diagram erd draw an entity-relationship diagram erd for the data storage requirements of a

  Write sql statements to list all columns for all tables

Write SQL statements to list all columns for all tables. Write an SQL statement to list ItemID and ItemDescription for all items that cost $1000 or more.

  Identify the attributes of the entities

Identify the various entities and their attributes involved in the application and identify the attributes of the entities that are unique to each entity.

  Write select statement that returns categoryname

Write a SELECT statement that returns the CategoryName column from the Categories table.

  Write a select statement

Write a SELECT statement that returns these columns from the CustomerAddresses view that you created in exercise 1: CustomerID, LastName, FirstName, BillLine1.

  Write sql statement to create user defined function

Write SQL statement which creates user defined function which returns int value. This int return value is obtained by deducting the lowest Count field value from the highest Count field value of Part table.

  Question for database schema

The patient information along with the ID of any prescribing doctor for each patient and the prescription information along with patient name, DOB, medication brand name, and prescribing doctor name sorted by most recent date.

  Execute queries to confirm that the basket order status

Execute queries to confirm that the basket order status and product stock levels have been appropriately modified by the trigger.

  Updating column in table after a shopper completes the

after a shopper completes the ordering process a procedure is called to update the following columns in the basket

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