3,#4,#5 Will provide my re

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Need help with #2,#3,#4,#5 Will provide my relational schema representation

 

The following are the transactions you have to implement for this part of the homework:
1. Load some initial data (as discussed above) into the database tables that you created in Part 2.1 of the
assignment. You can either write a loading program, or use SQL (insert command. Your data should
be kept in files so that it can easily be reloaded during debugging. The data format should be designed
by you.
2. Write queries to retrieve and print all the data you cntered. Try to print the data so that it is easy to
understand (for example, print appropriate headings, such as: Customers, Compact Cars, SUVS,
Current Rentals, etc).
3. Write the following database update transactions using PHP or some other programming language or
scripting language.
3.1 The first transaction is to add information about a new CUSTOMER.
3.2 The second transaction is to add all the information about a new CAR.
3.3 The third transaction is to add all the information about a new RENTAL reservation (this must find
a free car of the appropriate type for the rental period).
3.4 The fourth transaction is to handle the return of a rented car. This transaction should print the total
customer payment due for the rental, and enter it in the database.
3.5 The fifth transaction is to enter or update the rental rates (daily and weekly) for a type of car.
4. Each transaction should have a user friendly interface to enter the information needed by the
transaction. This can either be a Web-based interface or a command line interface.
5. Test your transactions by adding a few new customers, cars, reservations, by changing some rental
rates and reservations rates.
Transcribed Image Text:The following are the transactions you have to implement for this part of the homework: 1. Load some initial data (as discussed above) into the database tables that you created in Part 2.1 of the assignment. You can either write a loading program, or use SQL (insert command. Your data should be kept in files so that it can easily be reloaded during debugging. The data format should be designed by you. 2. Write queries to retrieve and print all the data you cntered. Try to print the data so that it is easy to understand (for example, print appropriate headings, such as: Customers, Compact Cars, SUVS, Current Rentals, etc). 3. Write the following database update transactions using PHP or some other programming language or scripting language. 3.1 The first transaction is to add information about a new CUSTOMER. 3.2 The second transaction is to add all the information about a new CAR. 3.3 The third transaction is to add all the information about a new RENTAL reservation (this must find a free car of the appropriate type for the rental period). 3.4 The fourth transaction is to handle the return of a rented car. This transaction should print the total customer payment due for the rental, and enter it in the database. 3.5 The fifth transaction is to enter or update the rental rates (daily and weekly) for a type of car. 4. Each transaction should have a user friendly interface to enter the information needed by the transaction. This can either be a Web-based interface or a command line interface. 5. Test your transactions by adding a few new customers, cars, reservations, by changing some rental rates and reservations rates.
Vehicle_details
VehiclelD
Categoryld
categoryType
Model
Year
dailyRate weekelyRate
Customer_details
IdNo
Name
Phone
Rental_Details
Rentalld
RentalType
currentORScheduled
AmountDue
VehiclelD
IdNo
Daily_rental_details
Rentalld
NoofDays
startdate
Returndate
Weekely_Rental_details
Rentalld
NoofWeeks
startdate
Returndate
Transcribed Image Text:Vehicle_details VehiclelD Categoryld categoryType Model Year dailyRate weekelyRate Customer_details IdNo Name Phone Rental_Details Rentalld RentalType currentORScheduled AmountDue VehiclelD IdNo Daily_rental_details Rentalld NoofDays startdate Returndate Weekely_Rental_details Rentalld NoofWeeks startdate Returndate
Expert Solution
steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education