Info
Warning
Danger
/ Homework Answers / Computer Science / Question Description: The car rental company allows customers to reserve rental cars

Question : Question Description: The car rental company allows customers to reserve rental cars

Question

Description:

The car rental company allows customers to reserve rental cars over the internet, the company also allows customers to rent cars by calling up car rental personnel or by walking up to the rental counter

The rental car company has a number of branches and each car is assigned to a home branch. Cars are always rented from the home branch but may be returned to a different branch. Cars are sometimes shifted from location to location – i.e. the home branch location of a given car can be changed.

The company offers various types of cars and various price plans. Cars are grouped into the following classes: Subcompact, Compact, Midsized, Full sized, Luxury. Pricing varies by class of car, duration of rental. The company periodically offers special deals, e.g. one week rental of midsized car for $150. The company also offers discounts for organizational memberships, e.g. AAA, AARP. There is a separate set of fees when a car is not returned to the car’s home branch – this fee will depend on the identity of the home branch and the branch to which the car is returned, e.g. the fee might depend on the distance between the home branch and the return location.

We assume that a customer must register before he or she rents a car. Once the customer is registered, the registration data stays in the system.

Provide:

2. Provide DDL including: (50 points) • CREATE tables. (25 points

) • Populate (INSERT Statements) tables with some data. (10 points)

• Construct the following queries: (15 points)

A) What compact cars are available at a particular (pick any) branch?

B) Show all cars available, sizes, location to pick. Group by sizes, and location.

 

Solution
5 (1 Ratings )

Solved
Computer Science 7 Months Ago 5 Views
This Question has Been Answered!
Premium Content -

Unlimited Access

Explore More than 2 Million+
  • Textbook Solutions
  • Flashcards
  • Homework Answers
  • Documents
Signup for Better Grades!

Ask an Expert

Our Experts can answer your tough homework and study questions
154049 Computer Science Questions Answered!
Post a Question