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
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.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1b523dda-c6fb-4b50-990e-5ab71b583090%2F180b3899-2941-44c4-b26c-6d756d59c22f%2Felohswp_processed.png&w=3840&q=75)
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1b523dda-c6fb-4b50-990e-5ab71b583090%2F180b3899-2941-44c4-b26c-6d756d59c22f%2F5z2b8qx_processed.png&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 6 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education