https://github.com/bilbottom/sql-models
Stand-alone SQL models.
https://github.com/bilbottom/sql-models
sql
Last synced: about 1 year ago
JSON representation
Stand-alone SQL models.
- Host: GitHub
- URL: https://github.com/bilbottom/sql-models
- Owner: Bilbottom
- Created: 2024-04-08T18:16:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T08:10:37.000Z (about 1 year ago)
- Last Synced: 2025-01-20T11:15:35.596Z (about 1 year ago)
- Topics: sql
- Language: Python
- Homepage:
- Size: 266 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://www.python.org/downloads/release/python-390/)
[](https://python-poetry.org/)

[](https://results.pre-commit.ci/latest/github/Bilbottom/sql-models/main)
---
# SQL Models
Stand-alone SQL models.
These can be used to enhance existing databases, or as reference material for training and learning.
Some are created by me, and others are from various sources which are credited below.
## Contents
### Date Dimension
Almost all data models can be improved by adding a calendar table which has dates over a range with useful info and such, such as weekday names.
This model extends this by including holidays and additional columns.
### [Football](sql_models/football/README.md)
The Euro 2016 football tournament.
This was built by [w3resource](https://www.w3resource.com/) and can be found at:
- [https://www.w3resource.com/sql-exercises/soccer-database-exercise/index.php](https://www.w3resource.com/sql-exercises/soccer-database-exercise/index.php)
### Human Resources
Employees, departments, and salaries.
This was built by [w3resource](https://www.w3resource.com/) and can be found at:
- [https://www.w3resource.com/sql-exercises/employee-database-exercise/index.php](https://www.w3resource.com/sql-exercises/employee-database-exercise/index.php)
### [Loans](sql_models/loans/README.md)
Loans and balances for a B2B bank.
### School
A typical school.
This was built by Microsoft and can be found at:
- [https://docs.microsoft.com/en-us/ef/ef6/resources/school-database](https://docs.microsoft.com/en-us/ef/ef6/resources/school-database)
### Website Backend
A simple website with users and events.
---
Additional databases can be found at:
- https://dzone.com/articles/collection-sql-server-sample-databases