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 database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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