Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PL-SQL Expert

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.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M91597376
  • Price:- $25

Priced at Now at $25, Verified Solution

Have any Question?


Related Questions in PL-SQL

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

  • 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