Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dm-zhuk/goit-rdb-fp
Relationship Databases Final Project
https://github.com/dm-zhuk/goit-rdb-fp
mysql
Last synced: about 6 hours ago
JSON representation
Relationship Databases Final Project
- Host: GitHub
- URL: https://github.com/dm-zhuk/goit-rdb-fp
- Owner: dm-zhuk
- Created: 2024-06-08T09:35:08.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-18T20:39:01.000Z (5 months ago)
- Last Synced: 2024-06-19T02:41:17.576Z (5 months ago)
- Topics: mysql
- Homepage: https://dm-zhuk.github.io/goit-rdb-fp/
- Size: 3.58 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# goit-rdb-fp: Relationship Databases Final Project
-- Task 1. Create a pandemic schema in the database
![screenshot](./assets/Screenshot%20rdb-fp-test-1.0.jpeg)
![screenshot](./assets/Screenshot%20rdb-fp-test-1.1.jpg)
-- Task 2. Normalize the infectious causes table. Save two tables with normalized data in the same schema
![screenshot](./assets/Screenshot%20rdb-fp-test-2.0.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-2.1.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-2.2.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-2.3.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-2.4.jpg)
-- Task 3. For each unique combination of Entity and Code or their id, calculate the average, minimum, maximum value and sum for the Number_rabies attribute
![screenshot](./assets/Screenshot%20rdb-fp-test-3.0.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-3.1.jpg)
-- Task 4: For the original or normalized table for the Year column, build using built-in SQL functions
![screenshot](./assets/Screenshot%20rdb-fp-test-4.0.jpg)
-- Task 5: Create and use a function that constructs the same attribute as in the previous task: the function should take as input a year value and return the difference in years between the current date and the date created from the year attribute (year 1996 → '1996-01-01 ')
![screenshot](./assets/Screenshot%20rdb-fp-test-5.0.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-5.1.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-5.2.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-5.3.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-5.4.jpg)
![screenshot](./assets/Screenshot%20rdb-fp-test-5.5.jpg)
[text](sql_code.txt)