Skip to content

akcyp/car_rental_sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car rental database

Databases - winter semester 2021/2022

Business assumptions

Creation of a relational database for a rental company passenger cars

  • Allowing statistics on cars, branches and customers to be kept
  • Possibility of developing the database in the future (along with the company's development) without the need for it remodeling

Logical Model

image

Relational Model

image

Database installation

The database is created in the file in steps:

  1. We execute the query "init.sql" attached to the report to create the structure tables
  2. We execute the "data.sql" query attached to the report in order to fill in the database test lines
  3. We execute "view.sql" query to create perspectives
  4. We make the query contained in the "check.sql" file and check if it coincides with: image
  5. In order to remove the database, we can use the query contained in the file "cleanup.sql"
  6. Examples of queries can be found in the file "queries.sql"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages