Compare commits

...

5 Commits

Author SHA1 Message Date
Rafał Charzewski
10393e5360 'test' 2023-12-16 11:18:50 +01:00
Rafał Charzewski
3a5281a186 Merge branch 'master' of https://git.wmi.amu.edu.pl/s1201682/Hurtownie_Danych 2023-12-16 10:31:38 +01:00
Rafał Charzewski
200c65905b komentarze do dim staff 2023-12-16 10:31:26 +01:00
Paweł Skurzyński
6a39be8b8e Merge branch 'master' of https://git.wmi.amu.edu.pl/s1201682/Hurtownie_Danych 2023-12-16 10:28:57 +01:00
Paweł Skurzyński
a1c8bf875c zmieniono dim_car 2023-12-16 10:28:29 +01:00

View File

@ -54,14 +54,13 @@ CREATE TABLE `dim_equipment` (
); );
CREATE TABLE `dim_store` ( CREATE TABLE `dim_store` (
`sk_store_id` int PRIMARY KEY, `store_key` int PRIMARY KEY,
`nk_store_id` int , `store_id` int ,
`store_manager_id` int , `store_manager_name varchar(64) ,
`store_manager_start_date` DATE , `active_from` DATE ,
`store_manager_end_date` DATE , `active_to` DATE ,
`active_manager` varchar(64) , `is_active` varchar(64) ,
`store_address` varchar(64) , `store_address` varchar(64) ,
`store_address2` varchar(64) ,
`store_postal_code` varchar(64) , `store_postal_code` varchar(64) ,
`store_city` varchar(64) , `store_city` varchar(64) ,
`store_country` varchar(64) `store_country` varchar(64)
@ -78,9 +77,10 @@ CREATE TABLE `dim_service_type` (
); );
CREATE TABLE `dim_staff` ( CREATE TABLE `dim_staff` (
`id` int,
`staff_id` int PRIMARY KEY, `staff_id` int PRIMARY KEY,
`staff_full_name` varchar(64) , `staff_full_name` varchar(64) , -- zawiera first_name i last_name
`staff_address` varchar(64) , `staff_address` varchar(64) , -- złączenie address oraz address2
`staff_city` varchar(64) , `staff_city` varchar(64) ,
`staff_country` varchar(64) , `staff_country` varchar(64) ,
`staff_email` varchar(64) , `staff_email` varchar(64) ,