subject
Engineering, 05.05.2020 23:29 Corykids6080

In this project, you will design and implement a database for keeping track of information about a car rental company. You will first design an ER/EER schema diagram for this database application. Then, you will map the ER/EER schema diagram into a relational database schema and implement it on MySQL relational DBMS preferable. Finally, you will load data into your relational database, write some queries, as well as a program to enter the query parameters and display the results.
Assume that the following requirements collected for this application:

1. The database keeps track of CUSTOMERs. Each CUSTOMER has a unique CustId (assume this is a unique integer generated by the system for each new CUSTOMER, such as 1, 2, 3, …), a Name (assume this is string consisting of a single initial and last name only for simplicity, such as "J. Smith" or "R. Wong"), and a Phone (a string of 12 characters such as "817-272-3000").

2. The database keeps track of CARs available for rental, which are categorized based on their type. The fleet is categorized as ‘LUXURY’ or ‘BASIC’ and belongs to any of the following six types: COMPACT, MEDIUM, LARGE, SUV (Sports Utility Vehicle), TRUCK and VAN. Each type of car has its own DailyRate and WeeklyRate (assume all vehicles of the same category and type have the same rental rates). For simplicity, we will assume that there is only one rental location.

3. Each CAR has a VehicleID (a unique number for each car), a Description (consisting of the brand name and model, such as Honda Civic, Toyota RAV4, Mazda CX5, …), and Year (2014, 2015, …).

4. The database will keep track of the past, current, and scheduled RENTALS of each CAR. There are two types of RENTAL: DAILY and WEEKLY. For each DAILY RENTAL, the information kept will include the specific CAR and CUSTOMER as well as the NoOfDays, StartDate, and ReturnDate (the ReturnDate derives from the StartDate and NoOfDays). For each WEEKLY RENTAL, the information kept will include the specific CAR and CUSTOMER as well as the NoOfWeeks, StartDate, and ReturnDate (the ReturnDate derives from the StartDate and NoOfWeeks). Each rental will also have the AmountDue for the rental, which is a derived value that can be calculated from the other information. We also need to keep information for the OrderDate.

5. The CUSTOMER has the option to pay in full either at the OrderDate or at the ReturnDate. For each PAYMENT we want to keep track of the PaymentDate, PaymentAmount, and a reference to the corresponding RENTAL. 6. The application needs to be able to identify which CARs are available for rental during a given period.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
You know the right answer?
In this project, you will design and implement a database for keeping track of information about a c...
Questions
Questions on the website: 13722363