https://github.com/dm-zhuk/goit-rdb-fp
Relationship Databases Final Project
https://github.com/dm-zhuk/goit-rdb-fp
mysql
Last synced: 5 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T20:39:01.000Z (about 1 year ago)
- Last Synced: 2024-12-29T14:52:09.302Z (7 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


-- Task 2. Normalize the infectious causes table. Save two tables with normalized data in the same schema





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


-- Task 4: For the original or normalized table for the Year column, build using built-in SQL functions

-- 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 ')






[text](sql_code.txt)