Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Online Car Rental System using MySQL and PHP

Notifications You must be signed in to change notification settings

dhanukarajat/car-rental

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Go to file

Folders and files

Last commit message Last commit date

Latest commit

History

View all files

Repository files navigation

  1. Load some initial data (as discussed above) into the database tables. You can either write a loading program, or use SQL/PLUS (insert command), or use SQL/FORMS. 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 entered. 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 a query that will prepare a report for weekly earnings by owner, by car type and per car unit that owner owns within that car type.
  4. Write the following database update transactions using either PRO*C or JAVA/JDBC or PHP or some other programming language or scripting language.

4.1 The first transaction is to add information about a new CUSTOMER.

4.2 The second transaction is to add all the information about a new CAR.

4.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).

4.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.

4.5 The fifth transaction is to enter or update the rental rates (daily and weekly) for a type of car.

  1. Each transaction should have a user friendly interface to enter the information needed by the transaction. This can either be a Web-based interface, a command line interface, or a forms interface.
  2. Test your transactions by adding a few new customers, cars, reservations, by changing some rental rates and reservations rates.

Assumptions for EER Diagram:

RELATIONAL SCHEMA MAPPING :