diff --git a/NotProgramming/EDABA-LAB/.gitignore b/NotProgramming/EDABA-LAB/.gitignore new file mode 100644 index 00000000..f38e523b --- /dev/null +++ b/NotProgramming/EDABA-LAB/.gitignore @@ -0,0 +1,9 @@ +*.fdb_latexmk +*.aux +*.fls +*.log +*.synctex.gz +*.xdv +*.out + +textual-description/description.out diff --git a/NotProgramming/EDABA-LAB/Materials/EDABA – lab1.pdf b/NotProgramming/EDABA-LAB/Materials/EDABA – lab1.pdf new file mode 100644 index 00000000..7c57d14e Binary files /dev/null and b/NotProgramming/EDABA-LAB/Materials/EDABA – lab1.pdf differ diff --git a/NotProgramming/EDABA-LAB/Materials/EDABA-tutors-1@labs.pdf b/NotProgramming/EDABA-LAB/Materials/EDABA-tutors-1@labs.pdf new file mode 100644 index 00000000..be0b7079 Binary files /dev/null and b/NotProgramming/EDABA-LAB/Materials/EDABA-tutors-1@labs.pdf differ diff --git a/NotProgramming/EDABA-LAB/SQL stuff/.gitignore b/NotProgramming/EDABA-LAB/SQL stuff/.gitignore new file mode 100644 index 00000000..e60e2d00 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/.gitignore @@ -0,0 +1,37 @@ +**/*.localz +**/*.local +**/*.git +**/*.DS_Store +**/.DS_Store +**/.do_pool/** +**/.do_pool +**/*#JDEVADF_* +**/*~ +**/*.scc +**/*.mv.* +**/*.unmkelem.* +**/*.sync.* +**/*.rename.* +**/*.unbranch.* +**/*.unco.* +**/*.saved.* +**/*.client_contrib +**/.svn/** +**/.data/** +**/*.cdi +**/*.bak +**/*.generated.java +**/*.ignore +**/*.labellog.emd +**/.*.cs +**/.fullsource_nt +**/.fullsource +**/.depprod_nt +**/.depprod +**/.ade_path +**/.ade_path/** +**/*.contrib* +**/*.keep +**/*.rvi +**/.#* +**/CVS/** diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD.dmd b/NotProgramming/EDABA-LAB/SQL stuff/ERD.dmd new file mode 100644 index 00000000..e86830e2 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD.dmd @@ -0,0 +1,8 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false +E35E9FCD-B3B4-68F1-3406-836922F62FB0 + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/businessinfo/Business Information.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/businessinfo/Business Information.xml new file mode 100644 index 00000000..edf9271b --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/businessinfo/Business Information.xml @@ -0,0 +1,7 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/DataTypes.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/DataTypes.xml new file mode 100644 index 00000000..c4defb7e --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/DataTypes.xml @@ -0,0 +1,15 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false +array_ref_ +array_ +10 +ARRAY +_Array +inst_ +ref_ +true + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml new file mode 100644 index 00000000..24e8fbcf --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/47E390DE-0671-C4B1-8428-0F45CBEE18F8.xml @@ -0,0 +1,10 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false +true +false +true + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/F72C39E0-D1CA-8821-2AD7-A1E95A37D3D1.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/F72C39E0-D1CA-8821-2AD7-A1E95A37D3D1.xml new file mode 100644 index 00000000..7efa01b9 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/structuredtype/seg_0/F72C39E0-D1CA-8821-2AD7-A1E95A37D3D1.xml @@ -0,0 +1,10 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false +true +false +true + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/subviews/AA058B7D-3152-C55D-7EE0-8F9682423450.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/subviews/AA058B7D-3152-C55D-7EE0-8F9682423450.xml new file mode 100644 index 00000000..6cf79fe3 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/datatypes/subviews/AA058B7D-3152-C55D-7EE0-8F9682423450.xml @@ -0,0 +1,26 @@ + + +macie +macie +2022-11-17 09:12:18 UTC +false +true +false +true +false +false +false +-1 +false +1 + + +false + + + +false + + + + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/dl_settings.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/dl_settings.xml new file mode 100644 index 00000000..af45d6c7 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/dl_settings.xml @@ -0,0 +1,436 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/Logical.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/Logical.xml new file mode 100644 index 00000000..9fddfa01 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/Logical.xml @@ -0,0 +1,7 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/094A0278-30E9-B6D7-73D5-9A42759BDCFF.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/094A0278-30E9-B6D7-73D5-9A42759BDCFF.xml new file mode 100644 index 00000000..e64b1b9e --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/094A0278-30E9-B6D7-73D5-9A42759BDCFF.xml @@ -0,0 +1,137 @@ + + +macie +2022-11-17 09:14:17 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:24:41 UTC +ERD + + + +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:24:44 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:24:44 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:24:45 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:24:45 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:24:45 UTC +ERD + + + +true +false +1 +LOGDT021 +,, + + +macie +2022-11-23 10:24:46 UTC +ERD + + + +true +false +1 +LOGDT021 +,, + + +macie +2022-11-23 10:53:44 UTC +67C73A80-59A2-6CE3-F1E7-78D706CACA46 +ERD + + + +E1FA19BC-94DF-4805-354E-E903363BD3A3 +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:52:48 UTC +ERD + + + +AB122906-9B5C-49D1-4F47-5610A0DB8C72 + +AB122906-9B5C-49D1-4F47-5610A0DB8C72 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/37CCF314-8958-C848-FE51-7615576768C2.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/37CCF314-8958-C848-FE51-7615576768C2.xml new file mode 100644 index 00000000..20e6c3a2 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/37CCF314-8958-C848-FE51-7615576768C2.xml @@ -0,0 +1,126 @@ + + +macie +2022-11-23 10:29:37 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:29:42 UTC +ERD + + + +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:29:43 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:29:43 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:29:43 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:29:44 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:48:00 UTC +61605123-73E2-570D-F1B4-93010E3AA5C2 +ERD + + + +true +EF3853D5-1AB5-F0C4-3E80-AF5C0FACABF8 +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:49:59 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD + + + +BE9644DF-EF1A-EEE7-8B41-33273E9CA718 +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:53:40 UTC +ERD + + + +E1FA19BC-94DF-4805-354E-E903363BD3A3 + +E1FA19BC-94DF-4805-354E-E903363BD3A3 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C1EC188F-389F-8F6C-877C-5C976375F9A7.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C1EC188F-389F-8F6C-877C-5C976375F9A7.xml new file mode 100644 index 00000000..8d5a539c --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C1EC188F-389F-8F6C-877C-5C976375F9A7.xml @@ -0,0 +1,85 @@ + + +macie +2022-11-23 10:26:55 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:27:15 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:27:15 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:27:16 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:27:16 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:27:56 UTC +ERD + + + +EF3853D5-1AB5-F0C4-3E80-AF5C0FACABF8 + +EF3853D5-1AB5-F0C4-3E80-AF5C0FACABF8 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C7CE6C9F-EADF-A68E-F301-D0518BC9E32E.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C7CE6C9F-EADF-A68E-F301-D0518BC9E32E.xml new file mode 100644 index 00000000..f522f843 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/C7CE6C9F-EADF-A68E-F301-D0518BC9E32E.xml @@ -0,0 +1,165 @@ + + +macie +2022-11-23 10:33:21 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:33:34 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:34 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:34 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:33:34 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:35 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:33:36 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:36 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:36 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:33:36 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:53:44 UTC +37C391BC-519D-B4D0-CF4F-C1617F2EE5A4 +ERD + + + +true +E1FA19BC-94DF-4805-354E-E903363BD3A3 +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:35:57 UTC +ERD + + + +F4EAC0C3-68FD-315F-FA42-97E73E276812 + +F4EAC0C3-68FD-315F-FA42-97E73E276812 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/ED530AAE-C66D-7E62-0AAB-76510176E777.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/ED530AAE-C66D-7E62-0AAB-76510176E777.xml new file mode 100644 index 00000000..99a9ccb4 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/ED530AAE-C66D-7E62-0AAB-76510176E777.xml @@ -0,0 +1,151 @@ + + +macie +2022-11-23 10:30:42 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:30:48 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:30:48 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:30:48 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:30:48 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:30:49 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:30:49 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:30:49 UTC +ERD + + + +true +false +1 +LOGDT007 +,, + + +macie +2022-11-23 10:30:49 UTC +ERD + + + +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, + + +macie +2022-11-23 10:45:15 UTC +717E32F5-3838-A47B-568A-87EB80E36AFA +ERD + + + +EF3853D5-1AB5-F0C4-3E80-AF5C0FACABF8 +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:33:10 UTC +ERD + + + +2256CF47-040D-A877-EE27-84E0B60FBD66 + +2256CF47-040D-A877-EE27-84E0B60FBD66 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/FD513D53-FF44-3471-8407-AE43D1A0D0BA.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/FD513D53-FF44-3471-8407-AE43D1A0D0BA.xml new file mode 100644 index 00000000..52cfbfa4 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/entity/seg_0/FD513D53-FF44-3471-8407-AE43D1A0D0BA.xml @@ -0,0 +1,112 @@ + + +macie +2022-11-23 10:28:01 UTC +ERD + + + +NO +0 +Single Table +0 +Year +9999999 +0 +Third + + +macie +2022-11-23 10:28:11 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:28:11 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:28:11 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:28:11 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:28:11 UTC +ERD + + + +true +false +1 +LOGDT011 +,, + + +macie +2022-11-23 10:53:44 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD + + + +E1FA19BC-94DF-4805-354E-E903363BD3A3 +false +1 +LOGDT011 +,, + + + + +macie +2022-11-23 10:29:29 UTC +ERD + + + +BE9644DF-EF1A-EEE7-8B41-33273E9CA718 + +BE9644DF-EF1A-EEE7-8B41-33273E9CA718 + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/37C391BC-519D-B4D0-CF4F-C1617F2EE5A4.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/37C391BC-519D-B4D0-CF4F-C1617F2EE5A4.xml new file mode 100644 index 00000000..9497b5f0 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/37C391BC-519D-B4D0-CF4F-C1617F2EE5A4.xml @@ -0,0 +1,21 @@ + + +macie +2022-11-23 10:51:01 UTC +ERD + + + +false +false +7F8EBC6C-4E41-73B8-B148-DBC91D3BFA9B +false +true +true +1 +37CCF314-8958-C848-FE51-7615576768C2 +* +C7CE6C9F-EADF-A68E-F301-D0518BC9E32E +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/5BB2B03F-53C9-B0A1-6D44-537497A2D5F0.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/5BB2B03F-53C9-B0A1-6D44-537497A2D5F0.xml new file mode 100644 index 00000000..77618524 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/5BB2B03F-53C9-B0A1-6D44-537497A2D5F0.xml @@ -0,0 +1,19 @@ + + +macie +2022-11-23 10:43:54 UTC +ERD + + + +false +false +true +true +* +094A0278-30E9-B6D7-73D5-9A42759BDCFF +* +C1EC188F-389F-8F6C-877C-5C976375F9A7 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/61605123-73E2-570D-F1B4-93010E3AA5C2.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/61605123-73E2-570D-F1B4-93010E3AA5C2.xml new file mode 100644 index 00000000..d40a6d2e --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/61605123-73E2-570D-F1B4-93010E3AA5C2.xml @@ -0,0 +1,21 @@ + + +macie +2022-11-23 10:47:49 UTC +ERD + + + +false +false +9F37D7E8-3E61-5895-283A-12D27866E6E4 +false +false +true +1 +C1EC188F-389F-8F6C-877C-5C976375F9A7 +* +37CCF314-8958-C848-FE51-7615576768C2 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/67C73A80-59A2-6CE3-F1E7-78D706CACA46.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/67C73A80-59A2-6CE3-F1E7-78D706CACA46.xml new file mode 100644 index 00000000..f99e40fc --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/67C73A80-59A2-6CE3-F1E7-78D706CACA46.xml @@ -0,0 +1,20 @@ + + +macie +2022-11-23 10:49:15 UTC +ERD + + + +false +7F8EBC6C-4E41-73B8-B148-DBC91D3BFA9B +false +false +true +1 +094A0278-30E9-B6D7-73D5-9A42759BDCFF +1 +37CCF314-8958-C848-FE51-7615576768C2 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/6B8D43C3-809E-BB19-7EF7-D8531E4F21F8.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/6B8D43C3-809E-BB19-7EF7-D8531E4F21F8.xml new file mode 100644 index 00000000..c75333c0 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/6B8D43C3-809E-BB19-7EF7-D8531E4F21F8.xml @@ -0,0 +1,20 @@ + + +macie +2022-11-23 10:49:59 UTC +ERD + + + +5E48BE38-6A08-138B-701B-A6DF1781A1A0 +7F8EBC6C-4E41-73B8-B148-DBC91D3BFA9B +false +false +false +1 +FD513D53-FF44-3471-8407-AE43D1A0D0BA +1 +37CCF314-8958-C848-FE51-7615576768C2 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/717E32F5-3838-A47B-568A-87EB80E36AFA.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/717E32F5-3838-A47B-568A-87EB80E36AFA.xml new file mode 100644 index 00000000..91454b93 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/717E32F5-3838-A47B-568A-87EB80E36AFA.xml @@ -0,0 +1,19 @@ + + +macie +2022-11-23 10:45:02 UTC +ERD + + + +9F37D7E8-3E61-5895-283A-12D27866E6E4 +false +false +false +1 +C1EC188F-389F-8F6C-877C-5C976375F9A7 +* +ED530AAE-C66D-7E62-0AAB-76510176E777 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/776243A6-FC9D-BF27-0B72-298D00996187.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/776243A6-FC9D-BF27-0B72-298D00996187.xml new file mode 100644 index 00000000..140d76e2 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/relation/seg_0/776243A6-FC9D-BF27-0B72-298D00996187.xml @@ -0,0 +1,19 @@ + + +macie +2022-11-23 10:50:28 UTC +ERD + + + +false +false +true +true +* +37CCF314-8958-C848-FE51-7615576768C2 +* +ED530AAE-C66D-7E62-0AAB-76510176E777 +true +NO ACTION + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/subviews/DE0FC048-6A8A-755E-E637-41F16C6EC7CF.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/subviews/DE0FC048-6A8A-755E-E637-41F16C6EC7CF.xml new file mode 100644 index 00000000..46615dbf --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/logical/subviews/DE0FC048-6A8A-755E-E637-41F16C6EC7CF.xml @@ -0,0 +1,107 @@ + + +macie +macie +2022-11-17 09:13:22 UTC +false +true +false +false +false +false +false +-1 +false +1 + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/DeletedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/DeletedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml new file mode 100644 index 00000000..ec75f010 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/DeletedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap.xml new file mode 100644 index 00000000..6811f63f --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml new file mode 100644 index 00000000..8a33c957 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/mapping/ExtendedMap_RMB35798F8-215A-519F-543C-7A900EBF8BAF.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/pm/Process Model.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/pm/Process Model.xml new file mode 100644 index 00000000..d4127a0d --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/pm/Process Model.xml @@ -0,0 +1,7 @@ + + +macie +2022-11-17 09:12:18 UTC +ERD +false + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rdbms/ERD_RDBMSSites.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rdbms/ERD_RDBMSSites.xml new file mode 100644 index 00000000..75d8ebda --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rdbms/ERD_RDBMSSites.xml @@ -0,0 +1,3 @@ + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF.xml new file mode 100644 index 00000000..6a14f460 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF.xml @@ -0,0 +1,8 @@ + + +macie +2022-11-17 09:14:17 UTC +ERD +false +32076570-2523-435C-2E92-BF29817DFF70 + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/240AA4FE-29A5-F9F7-D42A-1B5A12F3EBFD.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/240AA4FE-29A5-F9F7-D42A-1B5A12F3EBFD.xml new file mode 100644 index 00000000..e7098089 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/240AA4FE-29A5-F9F7-D42A-1B5A12F3EBFD.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD +CLUB +NO ACTION +6D9189CB-55B6-3A21-76E0-447963FB09D1 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/34462893-9CF0-6CA2-DEDC-65566391E152.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/34462893-9CF0-6CA2-DEDC-65566391E152.xml new file mode 100644 index 00000000..112723c9 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/34462893-9CF0-6CA2-DEDC-65566391E152.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +776243A6-FC9D-BF27-0B72-298D00996187 +ERD +CLUB +NO ACTION +6D9189CB-55B6-3A21-76E0-447963FB09D1 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/3731BE4B-BDAE-2576-83CA-B960B133A751.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/3731BE4B-BDAE-2576-83CA-B960B133A751.xml new file mode 100644 index 00000000..9211d957 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/3731BE4B-BDAE-2576-83CA-B960B133A751.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +37C391BC-519D-B4D0-CF4F-C1617F2EE5A4 +ERD +CLUB +NO ACTION +6D9189CB-55B6-3A21-76E0-447963FB09D1 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +false +ID +false +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/43FF2D2E-A4B3-2BDC-BBCB-8F9D62520A19.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/43FF2D2E-A4B3-2BDC-BBCB-8F9D62520A19.xml new file mode 100644 index 00000000..e27986cc --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/43FF2D2E-A4B3-2BDC-BBCB-8F9D62520A19.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +5BB2B03F-53C9-B0A1-6D44-537497A2D5F0 +ERD +STADIUM +NO ACTION +A401BE97-AB97-BBA9-4C74-3778F4F7F90C +BE59F6BD-4F97-F438-7D72-FDECDA627BEA +BE59F6BD-4F97-F438-7D72-FDECDA627BEA +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/63A56F9F-DE2E-E887-27D8-FC1240762272.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/63A56F9F-DE2E-E887-27D8-FC1240762272.xml new file mode 100644 index 00000000..87089ccd --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/63A56F9F-DE2E-E887-27D8-FC1240762272.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +5BB2B03F-53C9-B0A1-6D44-537497A2D5F0 +ERD +COMPETITION +NO ACTION +A05F2CDF-2CA2-496C-CB73-9A4BF5348B57 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +true +ID +false +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/69F103EE-1149-E706-8CB4-AFC46CA0403D.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/69F103EE-1149-E706-8CB4-AFC46CA0403D.xml new file mode 100644 index 00000000..7de5aa80 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/69F103EE-1149-E706-8CB4-AFC46CA0403D.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +67C73A80-59A2-6CE3-F1E7-78D706CACA46 +ERD +CLUB +NO ACTION +6D9189CB-55B6-3A21-76E0-447963FB09D1 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +41C6A40E-318D-59ED-BFB9-4AA4125C2AB6 +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/717F1C70-8DCD-09A6-E20C-4A983365ABB7.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/717F1C70-8DCD-09A6-E20C-4A983365ABB7.xml new file mode 100644 index 00000000..82aa5b59 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/717F1C70-8DCD-09A6-E20C-4A983365ABB7.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +776243A6-FC9D-BF27-0B72-298D00996187 +ERD +MATCH +NO ACTION +1E60D57C-00A0-B647-52D0-494D4D35214B +F108914A-8713-2CB5-5E00-7AA8835E39CD +F108914A-8713-2CB5-5E00-7AA8835E39CD +true +ID +false +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/DD06F835-6C22-0E4B-6687-7987DD00B033.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/DD06F835-6C22-0E4B-6687-7987DD00B033.xml new file mode 100644 index 00000000..b09a257e --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/DD06F835-6C22-0E4B-6687-7987DD00B033.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +61605123-73E2-570D-F1B4-93010E3AA5C2 +ERD +COMPETITION +NO ACTION +A05F2CDF-2CA2-496C-CB73-9A4BF5348B57 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +false +ID +false +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/E0C89A41-0EC1-DBA4-FEA7-BA31E7DDAE8F.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/E0C89A41-0EC1-DBA4-FEA7-BA31E7DDAE8F.xml new file mode 100644 index 00000000..912663ff --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/E0C89A41-0EC1-DBA4-FEA7-BA31E7DDAE8F.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD +MANAGER +NO ACTION +08F7FCE0-FB7D-0162-60B9-DEB2A78396E5 +2E4DF9B1-1A32-0353-0FDD-9213BAD93413 +2E4DF9B1-1A32-0353-0FDD-9213BAD93413 +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/FDA63C77-E1BA-2F7D-A7F3-0A04E1C813AD.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/FDA63C77-E1BA-2F7D-A7F3-0A04E1C813AD.xml new file mode 100644 index 00000000..62ea6d65 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/foreignkey/seg_0/FDA63C77-E1BA-2F7D-A7F3-0A04E1C813AD.xml @@ -0,0 +1,17 @@ + + +macie +2022-11-23 10:58:16 UTC +717E32F5-3838-A47B-568A-87EB80E36AFA +ERD +COMPETITION +NO ACTION +A05F2CDF-2CA2-496C-CB73-9A4BF5348B57 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +D021A899-B1C3-EBE8-64E9-60EFAB0BA0D9 +true +ID +true +false +true + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/subviews/90DB458F-A359-C334-3266-DDE597E64D02.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/subviews/90DB458F-A359-C334-3266-DDE597E64D02.xml new file mode 100644 index 00000000..a61d200d --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/subviews/90DB458F-A359-C334-3266-DDE597E64D02.xml @@ -0,0 +1,285 @@ + + +macie +macie +2022-11-17 09:16:54 UTC +false +true +false +false +false +false +false +-1 +false +1 + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + + + +macie +macie +2022-11-23 11:02:20 UTC +false +true +false +false +false +false +false +-1 +true +1 + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + +false + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + +false +-16777216 +1 + + + + + + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/08F7FCE0-FB7D-0162-60B9-DEB2A78396E5.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/08F7FCE0-FB7D-0162-60B9-DEB2A78396E5.xml new file mode 100644 index 00000000..9bf69311 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/08F7FCE0-FB7D-0162-60B9-DEB2A78396E5.xml @@ -0,0 +1,122 @@ + + +macie +2022-11-23 10:58:16 UTC +FD513D53-FF44-3471-8407-AE43D1A0D0BA +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +BE9644DF-EF1A-EEE7-8B41-33273E9CA718 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +1DEB5CAD-86BD-9C3E-17CB-0D4E322F27D3 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +64292D71-7570-FD26-E6F5-A5A2A3DC7C8E +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +9A0675BF-B51B-EEB7-A37E-FC2025CE6403 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +EFCCC331-DB88-5E63-A5F0-EADE1128B3B2 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +EFC29F8A-089C-FE6A-77D9-5728B25FAC31 +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +5E48BE38-6A08-138B-701B-A6DF1781A1A0 +ERD +Unique Constraint +false + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +Unique Plain Index +false +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 + + + + + +macie +2022-11-23 10:58:16 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/0F805C2E-E01F-5394-4FAC-CE35930C7ACD.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/0F805C2E-E01F-5394-4FAC-CE35930C7ACD.xml new file mode 100644 index 00000000..ef03946e --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/0F805C2E-E01F-5394-4FAC-CE35930C7ACD.xml @@ -0,0 +1,75 @@ + + +macie +2022-11-23 10:58:16 UTC +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +ERD +false +1 +LOGDT011 +,, +false +false + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +true +Primary Constraint +false + + + + + + +macie +2022-11-23 10:58:16 UTC +5BB2B03F-53C9-B0A1-6D44-537497A2D5F0 +ERD +Foreign Key +false + + + + + +macie +2022-11-23 10:58:16 UTC +5BB2B03F-53C9-B0A1-6D44-537497A2D5F0 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/1E60D57C-00A0-B647-52D0-494D4D35214B.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/1E60D57C-00A0-B647-52D0-494D4D35214B.xml new file mode 100644 index 00000000..58664e6d --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/1E60D57C-00A0-B647-52D0-494D4D35214B.xml @@ -0,0 +1,147 @@ + + +macie +2022-11-23 10:58:16 UTC +ED530AAE-C66D-7E62-0AAB-76510176E777 +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +2256CF47-040D-A877-EE27-84E0B60FBD66 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +EFD1C517-C2BF-EEA1-8820-892575009D1A +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +814BC2AC-30E2-B024-4FED-3FD25C4C67C9 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +C4F9CAFE-17FB-37F3-9061-3EF98FFCEF87 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +DAD6D206-A278-1D75-1C4C-F6930F09710C +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +CC650C02-6576-0A8B-8698-0D6672FD1328 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +CB889B92-2690-D41C-2FCA-1464906A53F5 +ERD +true +false +1 +LOGDT007 +,, +false + + +macie +2022-11-23 10:58:16 UTC +89277C2A-10A4-40D4-4DCD-A81EA9D479A6 +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +495BC6CB-8762-056A-D02F-02EA7714D7EC +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +9A4BE9B4-8045-EA77-F43A-F19CF3263312 +ERD +Unique Constraint +false + + + + + +macie +2022-11-23 10:58:16 UTC +717E32F5-3838-A47B-568A-87EB80E36AFA +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/6D9189CB-55B6-3A21-76E0-447963FB09D1.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/6D9189CB-55B6-3A21-76E0-447963FB09D1.xml new file mode 100644 index 00000000..24ca0ceb --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/6D9189CB-55B6-3A21-76E0-447963FB09D1.xml @@ -0,0 +1,148 @@ + + +macie +2022-11-23 10:58:16 UTC +37CCF314-8958-C848-FE51-7615576768C2 +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +E1FA19BC-94DF-4805-354E-E903363BD3A3 +ERD +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +38F400E9-1FF5-ACE2-ECC1-0242D1DF5FE6 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +41DE137F-4FB1-7481-92A0-AA714224F084 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +A8A52F86-1ECC-F07F-E155-5612A1FB8832 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +B1B09588-41C3-B9E5-1479-E4D76BB3A0D6 +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +B0F6D941-8E00-5E51-8F24-A1A5311B00C6 +ERD +true +false +1 +LOGDT011 +,, +false +false + + + + + +macie +2022-11-23 10:58:16 UTC +A0587CF4-DF8A-0EA6-9F51-E4FCF42FA3E6 +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +7F8EBC6C-4E41-73B8-B148-DBC91D3BFA9B +ERD +Unique Constraint +false + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +Unique Plain Index +false +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 + + + + + +macie +2022-11-23 10:58:16 UTC +61605123-73E2-570D-F1B4-93010E3AA5C2 +ERD +Foreign Key +false + + + + + +macie +2022-11-23 10:58:16 UTC +6B8D43C3-809E-BB19-7EF7-D8531E4F21F8 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A05F2CDF-2CA2-496C-CB73-9A4BF5348B57.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A05F2CDF-2CA2-496C-CB73-9A4BF5348B57.xml new file mode 100644 index 00000000..5b7b87f1 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A05F2CDF-2CA2-496C-CB73-9A4BF5348B57.xml @@ -0,0 +1,73 @@ + + +macie +2022-11-23 10:58:16 UTC +C1EC188F-389F-8F6C-877C-5C976375F9A7 +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +EF3853D5-1AB5-F0C4-3E80-AF5C0FACABF8 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +510C6A3F-6C0C-20B1-BB33-8C163AC8B8EC +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +EEEAA30B-C064-AC1A-6228-16B61C2661D9 +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +5A7D557B-53A3-9B7C-4CA1-1CFA0E2454C9 +ERD +true +false +1 +LOGDT011 +,, +false + + + + +macie +2022-11-23 10:58:16 UTC +9F37D7E8-3E61-5895-283A-12D27866E6E4 +ERD +Unique Constraint +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A22C69E6-9E67-C82F-ED01-A23AAED170F6.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A22C69E6-9E67-C82F-ED01-A23AAED170F6.xml new file mode 100644 index 00000000..4e06faac --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A22C69E6-9E67-C82F-ED01-A23AAED170F6.xml @@ -0,0 +1,160 @@ + + +macie +2022-11-23 10:58:16 UTC +C7CE6C9F-EADF-A68E-F301-D0518BC9E32E +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +F4EAC0C3-68FD-315F-FA42-97E73E276812 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +E0E55813-2D73-FE40-63F8-FA829866FC88 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +C4582F94-8907-BCA8-4E82-3F2307A461FD +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +DDDBA383-8EA8-E730-CE79-4ADD10587171 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +1F46C2B5-8963-5BAA-0CEB-320CA07D37C1 +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +F588FC6C-902D-B7A2-8D3B-00B54F04FDC1 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +9BF186C3-2296-28AD-55C0-586D9D01D72D +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +15DC2C5F-9A9E-2A64-BC66-1EA2AC28C0A9 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +7BEB26AD-0011-0A62-F129-AD9A00810654 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +FABA3581-4FC0-5A8A-CB86-761937AC2A9C +ERD +true +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +47E35D28-113A-16EF-963C-28292C16B79B +ERD +Unique Constraint +false + + + + + +macie +2022-11-23 10:58:16 UTC +37C391BC-519D-B4D0-CF4F-C1617F2EE5A4 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A401BE97-AB97-BBA9-4C74-3778F4F7F90C.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A401BE97-AB97-BBA9-4C74-3778F4F7F90C.xml new file mode 100644 index 00000000..f3a64050 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/A401BE97-AB97-BBA9-4C74-3778F4F7F90C.xml @@ -0,0 +1,145 @@ + + +macie +2022-11-23 10:58:16 UTC +094A0278-30E9-B6D7-73D5-9A42759BDCFF +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +AB122906-9B5C-49D1-4F47-5610A0DB8C72 +ERD +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +63EAC919-AD3B-2B1A-B263-CEBBE3B76762 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +0646FB84-69BA-F078-A415-A532E8979B90 +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +5A693337-7CFF-B5EB-FDDE-4586EBF30CFF +ERD +true +false +1 +A3A3C77D-0366-9768-FF89-1C25E56881C8 +,, +false + + +macie +2022-11-23 10:58:16 UTC +E70AB94F-0574-D011-D5B9-9C7D6062F11D +ERD +true +false +1 +LOGDT011 +,, +false + + +macie +2022-11-23 10:58:16 UTC +E87304E8-5FE7-59C8-E846-DA45E599940A +ERD +true +false +1 +LOGDT021 +,, +false + + +macie +2022-11-23 10:58:16 UTC +731005D0-CBF2-60AA-1466-F6C4019D98AF +ERD +true +false +1 +LOGDT021 +,, +false + + +macie +2022-11-23 10:58:16 UTC +EEF7DEF2-8643-A012-0FE7-188832C77EBF +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +7D366038-F5A5-7414-ABC5-6359FD6BAF71 +ERD +Unique Constraint +false + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +Unique Plain Index +false +67C73A80-59A2-6CE3-F1E7-78D706CACA46 + + + + + +macie +2022-11-23 10:58:16 UTC +67C73A80-59A2-6CE3-F1E7-78D706CACA46 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/FF65C06B-FFEB-B730-F1C4-69541D31D577.xml b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/FF65C06B-FFEB-B730-F1C4-69541D31D577.xml new file mode 100644 index 00000000..7e47ff52 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ERD/rel/B35798F8-7A900EBF8BAF/table/seg_0/FF65C06B-FFEB-B730-F1C4-69541D31D577.xml @@ -0,0 +1,75 @@ + + +macie +2022-11-23 10:58:16 UTC +ERD +false +true +true + + +macie +2022-11-23 10:58:16 UTC +ERD +false +1 +LOGDT011 +,, +false +false + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +false +1 +LOGDT011 +,, +false +false + + + + + + + +macie +2022-11-23 10:58:16 UTC +ERD +true +Primary Constraint +false + + + + + + +macie +2022-11-23 10:58:16 UTC +776243A6-FC9D-BF27-0B72-298D00996187 +ERD +Foreign Key +false + + + + + +macie +2022-11-23 10:58:16 UTC +776243A6-FC9D-BF27-0B72-298D00996187 +ERD +Foreign Key +false + + + + + +
diff --git a/NotProgramming/EDABA-LAB/SQL stuff/Krzysztof_Rudnicki-EDABA_Lab-3.sql b/NotProgramming/EDABA-LAB/SQL stuff/Krzysztof_Rudnicki-EDABA_Lab-3.sql new file mode 100644 index 00000000..bca163bb --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/Krzysztof_Rudnicki-EDABA_Lab-3.sql @@ -0,0 +1,96 @@ +-- Author: Krzysztof Rudnicki +-- Student number: 307585 + +--=======================insert_trigger======================= + +-- show data +-- show competition which reputation was affected by attendance of the newly inserted match +select * from competition where id = 1 +-- show match who is inserted and by that affects competition reputation +select * from match where id = 1234567 + +-- create trigger +-- set competition reputation equal to max (5) reputation if the match in this competition was attended by at least 10k people, and to 1 otherwise +CREATE OR REPLACE trigger match_insert_trigger after insert on match +for each row +begin + update competition + set reputation = 5 + where id = :NEW.competition_id AND :NEW.attendance > 10000; + + update competition + set reputation = 1 + where id = :NEW.competition_id AND :NEW.attendance < 10000; +end; + +-- trigger trigger +-- insert +-- sufficient (at least 10k attendance) to change competition reputation +insert into match +values(1234567, 10, 5, 30000, 'sunny', 90, To_date(TRUNC(DBMS_RANDOM.VALUE(TO_CHAR(DATE '1900-01-01','J') ,TO_CHAR(DATE '2023-12-31','J'))), 'J'), 'referre', 1) + +-- insufficient (less than 10k attendance) to change competition reputation +insert into match +values(1234567, 10, 5, 3000, 'sunny', 90, To_date(TRUNC(DBMS_RANDOM.VALUE(TO_CHAR(DATE '1900-01-01','J') ,TO_CHAR(DATE '2023-12-31','J'))), 'J'), 'referre', 1) + +delete from match where id = 1234567 + +--=======================update_trigger======================= + +-- Run before/after trigger +-- show club affected by update trigger when manager reputation influences club reputation +select * from club where manager_id = 1 +-- show manager which update influences club reputation +select * from manager where id = 1 + + +-- Run to create trigger +-- updates club reputation if the competition the club is taking part in has high enough prize value +CREATE OR REPLACE trigger update_maanger_trigger after update on manager +for each row +begin + update club + set reputation = :NEW.reputation + where id = :NEW.club_id; +end; + +-- Run to trigger trigger +-- update +-- update manager reputation to 1 and trigger update for club to set reputation to 1 +update manager + set reputation = 1 +where id = 1; + +-- update manager reputation to 5 and trigger update for club to set reputation to 5 +update manager + set reputation = 5 +where id = 1; + + + +--=======================delete_trigger======================= + +-- show data +-- show competition which reputation was affected by attendance of the newly inserted match +select * from competition where id = 1 +-- show match who is inserted and by that affects competition reputation +select * from match where id = 1234567 + +-- create trigger +-- set competition reputation equal to min (1) reputation if the match deleted from competition was attended by at least 10k people, and to 5 otherwise +CREATE OR REPLACE trigger match_delete_trigger after delete on match +for each row +begin + update competition + set reputation = 1 + where id = :OLD.competition_id AND :OLD.attendance > 10000; +end; + +-- trigger trigger +-- insert +-- sufficient (at least 10k attendance) to change competition reputation +insert into match +values(1234567, 10, 5, 30000, 'sunny', 90, To_date(TRUNC(DBMS_RANDOM.VALUE(TO_CHAR(DATE '1900-01-01','J') ,TO_CHAR(DATE '2023-12-31','J'))), 'J'), 'referre', 1) + +delete from match where id = 1234567 + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/Maciej_Domanski-EDABA_Lab-3.sql b/NotProgramming/EDABA-LAB/SQL stuff/Maciej_Domanski-EDABA_Lab-3.sql new file mode 100644 index 00000000..96f8bc9a --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/Maciej_Domanski-EDABA_Lab-3.sql @@ -0,0 +1,72 @@ +--Maciej Domanski 303853 - EDABA Lab 3 +----------------------- INSERT TRIGGER ----------------------- + +-- Run before/after trigger +-- show club which budget was affected by inserting or deleting new/old player +select * from club where id = 1 +-- show player who is inserted and by that affects club budget +select * from player where id = 1000000 + +-- Run to create trigger +-- after inserting a player increase club budget by player value +CREATE OR REPLACE trigger insert_player_trigger after insert on player +for each row +begin + update club + set budget = budget + :NEW.transfer_value + where :NEW.club_id = id; +end; + +-- Run to trigger trigger +-- insert +insert into player +values(1000000, 5, 'striker', 3, 'valid', 5, 35, 1000, 20000000, 1) + +----------------------- UPDATE TRIGGER ----------------------- + +-- Run before/after trigger +-- show competition where prize was updated which later changes club reputation +select * from competition where id = 1 +-- show club affected by update trigger when affected competition prize is high enough +select * from club where competition_id = 1 + +-- Run to create trigger +-- updates club reputation if the competition the club is taking part in has high enough prize value +CREATE OR REPLACE trigger update_trigger after update on competition +for each row +begin + update club + set reputation = 5 + where 200000 < :NEW.prize AND :NEW.id = competition_id; +end; + +-- Run to trigger trigger +-- update +update competition +set prize = 1234567 +where id = 1; + + +----------------------- DELETE TRIGGER ----------------------- + +-- Run before/after trigger +-- show club which budget was affected by inserting or deleting new/old player +select * from club where id = 1 +-- select player who is deleted and by that affects club budget +select * from player where id = 1000000 + +-- Run to create trigger +-- after deleting a player decrease club budget by player value +CREATE OR REPLACE trigger delete_player_trigger after delete on player +for each row +begin + update club + set budget = budget - :OLD.transfer_value + where :OLD.club_id = id; +end; + +-- Run to trigger trigger +-- delete +delete from player +where id = 1000000 + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/RUN_ME_BEFORE_AFTER_POPULATE.sql b/NotProgramming/EDABA-LAB/SQL stuff/RUN_ME_BEFORE_AFTER_POPULATE.sql new file mode 100644 index 00000000..64e8456b --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/RUN_ME_BEFORE_AFTER_POPULATE.sql @@ -0,0 +1,21 @@ +-- RUN NEXT 3 LINES BEFORE RUNNING POPULATE SCRIPT +alter table manager + DISABLE constraint manager_club_fk; + +alter table club + DISABLE constraint club_manager_fk; +alter table club + DISABLE constraint club_competition_fk; +-- RUN 3 LINES BEFORE RUNNING POPULATE SCRIPT + + + +-- RUN NEXT 3 LINES AFTER RUNNING POPULATE SCRIPT +alter table manager + ENABLE constraint manager_club_fk; + +alter table club + ENABLE constraint club_manager_fk; +alter table club + ENABLE constraint club_competition_fk; +-- RUN LAST 3 LINES AFTER RUNNING POPULATE SCRIPT \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/Relationa Print.pdf b/NotProgramming/EDABA-LAB/SQL stuff/Relationa Print.pdf new file mode 100644 index 00000000..59e21b9f Binary files /dev/null and b/NotProgramming/EDABA-LAB/SQL stuff/Relationa Print.pdf differ diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.ddl b/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.ddl new file mode 100644 index 00000000..71b526c4 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.ddl @@ -0,0 +1,234 @@ +-- Generated by Oracle SQL Developer Data Modeler 22.2.0.165.1149 +-- at: 2022-11-23 12:17:07 CET +-- site: Oracle Database 11g +-- type: Oracle Database 11g + + + +-- predefined type, no DDL - MDSYS.SDO_GEOMETRY + +-- predefined type, no DDL - XMLTYPE + +CREATE TABLE club ( + id INTEGER NOT NULL, + budget INTEGER, + training_ground_quality INTEGER, + reputation INTEGER, + country_of_origin VARCHAR2(4000), + competition_id INTEGER, + manager_id INTEGER NOT NULL +); + +CREATE UNIQUE INDEX club__idx ON + club ( + manager_id + ASC ); + +ALTER TABLE club ADD CONSTRAINT club_id_un UNIQUE ( id ); + +CREATE TABLE competition ( + id INTEGER, + prize INTEGER, + country VARCHAR2(4000), + reputation INTEGER +); + +ALTER TABLE competition ADD CONSTRAINT competition_id_un UNIQUE ( id ); + +CREATE TABLE manager ( + id INTEGER, + skill INTEGER, + reputation INTEGER, + age INTEGER, + wage INTEGER, + club_id INTEGER NOT NULL +); + +CREATE UNIQUE INDEX manager__idx ON + manager ( + club_id + ASC ); + +ALTER TABLE manager ADD CONSTRAINT manager_id_un UNIQUE ( id ); + +CREATE TABLE match ( + id INTEGER, + score INTEGER, + rating INTEGER, + attendance INTEGER, + weather VARCHAR2(4000), + duration INTEGER, + "date" DATE, + referee_name VARCHAR2(4000), + competition_id INTEGER NOT NULL +); + +ALTER TABLE match ADD CONSTRAINT match_id_un UNIQUE ( id ); + +CREATE TABLE player ( + id INTEGER, + skill INTEGER, + position VARCHAR2(4000), + reputation INTEGER, + contract_status VARCHAR2(4000), + injuries INTEGER, + age INTEGER, + wages INTEGER, + transfer_value INTEGER, + club_id INTEGER +); + +ALTER TABLE player ADD CONSTRAINT player_id_un UNIQUE ( id ); + +CREATE TABLE stadium ( + id INTEGER NOT NULL, + capacity INTEGER, + reputation INTEGER, + location VARCHAR2(4000), + build_year INTEGER, + value FLOAT, + ticket_price FLOAT, + club_id INTEGER NOT NULL +); + +CREATE UNIQUE INDEX stadium__idx ON + stadium ( + club_id + ASC ); + +ALTER TABLE stadium ADD CONSTRAINT stadium_id_un UNIQUE ( id ); + +CREATE TABLE takes_part_in ( + club_id INTEGER NOT NULL, + match_id INTEGER NOT NULL +); + +ALTER TABLE takes_part_in ADD CONSTRAINT takes_part_in_pk PRIMARY KEY ( club_id, + match_id ); + +CREATE TABLE takes_place_in ( + stadium_id INTEGER NOT NULL, + competition_id INTEGER NOT NULL +); + +ALTER TABLE takes_place_in ADD CONSTRAINT takes_place_in_pk PRIMARY KEY ( stadium_id, + competition_id ); + +ALTER TABLE club + ADD CONSTRAINT club_competition_fk FOREIGN KEY ( competition_id ) + REFERENCES competition ( id ); + +ALTER TABLE club + ADD CONSTRAINT club_manager_fk FOREIGN KEY ( manager_id ) + REFERENCES manager ( id ); + +ALTER TABLE manager + ADD CONSTRAINT manager_club_fk FOREIGN KEY ( club_id ) + REFERENCES club ( id ); + +ALTER TABLE match + ADD CONSTRAINT match_competition_fk FOREIGN KEY ( competition_id ) + REFERENCES competition ( id ); + +ALTER TABLE player + ADD CONSTRAINT player_club_fk FOREIGN KEY ( club_id ) + REFERENCES club ( id ); + +ALTER TABLE stadium + ADD CONSTRAINT stadium_club_fk FOREIGN KEY ( club_id ) + REFERENCES club ( id ); + +ALTER TABLE takes_part_in + ADD CONSTRAINT takes_part_in_club_fk FOREIGN KEY ( club_id ) + REFERENCES club ( id ); + +ALTER TABLE takes_part_in + ADD CONSTRAINT takes_part_in_match_fk FOREIGN KEY ( match_id ) + REFERENCES match ( id ); + +ALTER TABLE takes_place_in + ADD CONSTRAINT takes_place_in_competition_fk FOREIGN KEY ( competition_id ) + REFERENCES competition ( id ); + +ALTER TABLE takes_place_in + ADD CONSTRAINT takes_place_in_stadium_fk FOREIGN KEY ( stadium_id ) + REFERENCES stadium ( id ); + +CREATE OR REPLACE TRIGGER fknto_club BEFORE + UPDATE OF competition_id ON club + FOR EACH ROW +BEGIN + IF :old.competition_id IS NOT NULL THEN + raise_application_error(-20225, 'Non Transferable FK constraint CLUB_COMPETITION_FK on table CLUB is violated'); + END IF; +END; +/ + +CREATE OR REPLACE TRIGGER fknto_player BEFORE + UPDATE OF club_id ON player + FOR EACH ROW +BEGIN + IF :old.club_id IS NOT NULL THEN + raise_application_error(-20225, 'Non Transferable FK constraint PLAYER_CLUB_FK on table PLAYER is violated'); + END IF; +END; +/ + +CREATE OR REPLACE TRIGGER fkntm_takes_part_in BEFORE + UPDATE OF match_id ON takes_part_in +BEGIN + raise_application_error(-20225, 'Non Transferable FK constraint on table takes_part_in is violated'); +END; +/ + +CREATE OR REPLACE TRIGGER fkntm_takes_place_in BEFORE + UPDATE OF competition_id ON takes_place_in +BEGIN + raise_application_error(-20225, 'Non Transferable FK constraint on table takes_place_in is violated'); +END; +/ + + + +-- Oracle SQL Developer Data Modeler Summary Report: +-- +-- CREATE TABLE 8 +-- CREATE INDEX 3 +-- ALTER TABLE 18 +-- CREATE VIEW 0 +-- ALTER VIEW 0 +-- CREATE PACKAGE 0 +-- CREATE PACKAGE BODY 0 +-- CREATE PROCEDURE 0 +-- CREATE FUNCTION 0 +-- CREATE TRIGGER 4 +-- ALTER TRIGGER 0 +-- CREATE COLLECTION TYPE 0 +-- CREATE STRUCTURED TYPE 0 +-- CREATE STRUCTURED TYPE BODY 0 +-- CREATE CLUSTER 0 +-- CREATE CONTEXT 0 +-- CREATE DATABASE 0 +-- CREATE DIMENSION 0 +-- CREATE DIRECTORY 0 +-- CREATE DISK GROUP 0 +-- CREATE ROLE 0 +-- CREATE ROLLBACK SEGMENT 0 +-- CREATE SEQUENCE 0 +-- CREATE MATERIALIZED VIEW 0 +-- CREATE MATERIALIZED VIEW LOG 0 +-- CREATE SYNONYM 0 +-- CREATE TABLESPACE 0 +-- CREATE USER 0 +-- +-- DROP TABLESPACE 0 +-- DROP DATABASE 0 +-- +-- REDACTION POLICY 0 +-- +-- ORDS DROP SCHEMA 0 +-- ORDS ENABLE SCHEMA 0 +-- ORDS ENABLE OBJECT 0 +-- +-- ERRORS 0 +-- WARNINGS 0 diff --git a/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.xml b/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.xml new file mode 100644 index 00000000..cfdf7ac1 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/ddl_script.xml @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NotProgramming/EDABA-LAB/SQL stuff/populate_script_DOMANSKI_RUDNICKI.sql b/NotProgramming/EDABA-LAB/SQL stuff/populate_script_DOMANSKI_RUDNICKI.sql new file mode 100644 index 00000000..d75e7d3c --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/populate_script_DOMANSKI_RUDNICKI.sql @@ -0,0 +1,119 @@ +-- USE alterscript.sql BEFORE RUNNING THIS SCRIPT (FIRST 7 LINES) +-- AFTER USING THIS SCRIPT RUN LAST 7 LINES FROM THE SAME FILE + +truncate table takes_part_in cascade;-- +truncate table takes_place_in cascade;-- +truncate table player cascade;-- +truncate table match cascade;-- +truncate table stadium cascade;-- +truncate table manager cascade;-- +truncate table club cascade;-- +truncate table competition cascade;--competition is last since it has no foreign keys (but club holds a foreign key to competition) + +declare loops number := 1000; +begin +declare many_to_many number := 150; +begin + +insert into competition + select + level +(select nvl(max(id),0) from competition) as id, + DBMS_RANDOM.value(0,1000000) as prize, + dbms_random.string('A', 6) as country, + DBMS_RANDOM.value(1,5) as reputation +from dual +connect by level <=loops +; + +insert into manager + select + level +(select nvl(max(id),0) from manager) as id, + DBMS_RANDOM.value(1,5) as skill, + DBMS_RANDOM.value(1,5) as reputation, + DBMS_RANDOM.value(18,80) as age, + DBMS_RANDOM.value(0,1000000) as wage, + level as club_id +from dual +connect by level <=loops +; + +insert into club + select + level +(select nvl(max(id),0) from club) as id, + DBMS_RANDOM.value(0,1000000) as budget, + DBMS_RANDOM.value(1,5)as training_ground_quality, + DBMS_RANDOM.value(1,5) as reputation, + dbms_random.string('A', 6) as country_of_origin, + dbms_random.value(1,loops) as competition_id, --https://stackoverflow.com/questions/27879874/how-to-get-random-foreign-key-in-sql-developer + level as manager_id +from dual +connect by level <=loops +; + +insert into stadium + select + level +(select nvl(max(id),0) from stadium) as id, + DBMS_RANDOM.value(0,40000) as capacity, + DBMS_RANDOM.value(1,5) as reputation, + dbms_random.string('A', 6) as location, + DBMS_RANDOM.value(1900,2100) as build_year, + DBMS_RANDOM.value(0,1000000) as value, + DBMS_RANDOM.value(0,200) as ticket_price, + level as club_id +from dual +connect by level <=loops +; + +insert into match + select + level +(select nvl(max(id),0) from match) as id, + DBMS_RANDOM.value(0,100) as score, + DBMS_RANDOM.value(1,5) as rating, + DBMS_RANDOM.value(0, 40000) as attendance, + dbms_random.string('A', 6) as weather, + DBMS_RANDOM.value(0,120) as duration, + To_date(TRUNC(DBMS_RANDOM.VALUE(TO_CHAR(DATE '1900-01-01','J') ,TO_CHAR(DATE '2023-12-31','J'))), 'J') as date2, + dbms_random.string('A', 6) as referee_name, + level as competition_id + from dual +connect by level <=loops +; + + +insert into player + select + level +(select nvl(max(id),0) from player) as id, + DBMS_RANDOM.value(1, 5) as skill, + dbms_random.string('A', 6) as position, + DBMS_RANDOM.value(1, 5) as reputation, + dbms_random.string('A', 6) as contract_status, + DBMS_RANDOM.value(0, 700) as injuries, -- in days, max injury can take about 2 years (700 days) + DBMS_RANDOM.value(15, 50) as age, + DBMS_RANDOM.value(0, 100000000) as wages, + DBMS_RANDOM.value(0, 1000000000) as transfer_value, + dbms_random.value(1,loops) as club_id + from dual +connect by level <=loops +; + +insert into takes_part_in + SELECT club_id, match_id + FROM ( + SELECT club.id as club_id, match.id as match_id + FROM club, match + ORDER BY DBMS_RANDOM.RANDOM) + WHERE rownum <= many_to_many; + +insert into takes_place_in + SELECT stadium_id, competition_id + FROM ( + SELECT stadium.id as stadium_id, competition.id as competition_id + FROM stadium, competition + ORDER BY DBMS_RANDOM.RANDOM) + WHERE rownum <= many_to_many; + +end; +end; + +-- USE alterscript.sql BEFORE RUNNING THIS SCRIPT (FIRST 7 LINES) +-- AFTER USING THIS SCRIPT RUN LAST 7 LINES FROM THE SAME FILE \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/SQL stuff/select_queries_DOMANSKI_RUDNICKI.sql b/NotProgramming/EDABA-LAB/SQL stuff/select_queries_DOMANSKI_RUDNICKI.sql new file mode 100644 index 00000000..1accc140 --- /dev/null +++ b/NotProgramming/EDABA-LAB/SQL stuff/select_queries_DOMANSKI_RUDNICKI.sql @@ -0,0 +1,44 @@ +-- aggregate functions and nested subqueries (print player with highest wage) +SELECT id, skill, reputation, wages +FROM Player +WHERE wages = (select max(wages) from Player) + +-- logic operators (print Club with highest training ground quality and budget below 1000) +SELECT id, reputation, country_of_origin, training_ground_quality, budget +FROM Club +WHERE (training_ground_quality = 5 AND budget < 1000) + +-- group by (print highest prize for a competitions taking part in each country) +SELECT max(prize), country +FROM Competition +GROUP BY country + +-- having clause (print how many stadiums were build in each year) +SELECT COUNT(id), build_year +FROM Stadium +GROUP BY build_year +HAVING count(id) < 1000 + +-- correlated, nested subqueries (print Players who earn more wage than the average wage in a given Club) +SELECT id, wages, club_id +FROM Player p +WHERE wages > + (SELECT AVG(wages) + FROM Player +WHERE club_id = +p.club_id) +ORDER BY wages + + +-- join (print how much manager earns in each club) +SELECT Club.id AS Club_id, Manager.id AS Manager_id, Club.reputation AS Club_reputation, Manager.wage AS Manager_wage +FROM Club +INNER JOIN Manager ON Club.Manager_id = Manager.id + +-- right join (print all Club id's and their Players or null if a Club does not have a single Player) +SELECT Player.id AS Player_id, Club.id AS Club_id +FROM Player +RIGHT JOIN Club ON Player.Club_id = Club.id +ORDER BY Player.id + + diff --git a/NotProgramming/EDABA-LAB/er-diagram/er-diagram.drawio b/NotProgramming/EDABA-LAB/er-diagram/er-diagram.drawio new file mode 100644 index 00000000..4b7958f5 --- /dev/null +++ b/NotProgramming/EDABA-LAB/er-diagram/er-diagram.drawio @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/er-diagram/er-diagram.svg b/NotProgramming/EDABA-LAB/er-diagram/er-diagram.svg new file mode 100644 index 00000000..6e259522 --- /dev/null +++ b/NotProgramming/EDABA-LAB/er-diagram/er-diagram.svg @@ -0,0 +1 @@ +
contracted to
contracted to
Player+attributes [many] +favourite position+reputation+contract status+injuries+retirement+age+wages+transfer value
taking part in
taking part in
Club+budget+facilities quality+reputation+stadium location+country of origin
part of
part of
Match+score+statistics+attendance+weather+duration+date+referee name
works
works
Manager+attributes [list]+reputation+retirement+age+wageCompetition+schedule+prize+country of origin+stadiums [list]+reputation
takes part in
takes part in
2
2
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/textual-description/description.out b/NotProgramming/EDABA-LAB/textual-description/description.out new file mode 100644 index 00000000..368e59ad --- /dev/null +++ b/NotProgramming/EDABA-LAB/textual-description/description.out @@ -0,0 +1,12 @@ +\BOOKMARK [0][-]{chapter.1}{\376\377\000T\000a\000s\000k\000\040\0001\000\040\000-\000\040\000T\000e\000x\000t\000u\000a\000l\000\040\000d\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n\000\040\000o\000f\000\040\000a\000\040\000d\000a\000t\000a\000b\000a\000s\000e}{}% 1 +\BOOKMARK [1][-]{section.1.1}{\376\377\000A\000i\000m}{chapter.1}% 2 +\BOOKMARK [1][-]{section.1.2}{\376\377\000O\000b\000j\000e\000c\000t\000s}{chapter.1}% 3 +\BOOKMARK [1][-]{section.1.3}{\376\377\000R\000e\000q\000u\000i\000r\000e\000m\000e\000n\000t\000s\000\040\000c\000o\000n\000c\000e\000r\000n\000i\000n\000g\000\040\000d\000a\000t\000a}{chapter.1}% 4 +\BOOKMARK [1][-]{section.1.4}{\376\377\000B\000u\000s\000i\000n\000e\000s\000s\000\040\000A\000c\000t\000i\000v\000i\000t\000i\000e\000s}{chapter.1}% 5 +\BOOKMARK [0][-]{chapter.2}{\376\377\000T\000a\000s\000k\000\040\0002\000\040\000-\000\040\000E\000R\000D\000\040\000-\000\040\000E\000n\000t\000i\000t\000y\000\040\000R\000e\000l\000a\000t\000i\000o\000n\000s\000h\000i\000p\000\040\000D\000i\000a\000g\000r\000a\000m}{}% 6 +\BOOKMARK [1][-]{section.2.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{chapter.2}% 7 +\BOOKMARK [2][-]{subsection.2.1.1}{\376\377\000R\000e\000l\000a\000t\000i\000o\000n\000s\000h\000i\000p\000\040\000d\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.2.1}% 8 +\BOOKMARK [2][-]{subsection.2.1.2}{\376\377\000E\000n\000t\000i\000t\000i\000e\000s\000\040\000a\000n\000d\000\040\000a\000t\000t\000r\000i\000b\000u\000t\000e\000s\000\040\000d\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{section.2.1}% 9 +\BOOKMARK [0][-]{chapter.3}{\376\377\000T\000a\000s\000k\000\040\0003\000\040\000-\000\040\000R\000e\000l\000a\000t\000i\000o\000n\000a\000l\000\040\000s\000c\000h\000e\000m\000a}{}% 10 +\BOOKMARK [1][-]{section.3.1}{\376\377\000R\000e\000l\000a\000t\000i\000o\000n\000a\000l\000\040\000s\000c\000h\000e\000m\000a}{chapter.3}% 11 +\BOOKMARK [1][-]{section.3.2}{\376\377\000D\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{chapter.3}% 12 diff --git a/NotProgramming/EDABA-LAB/textual-description/description.pdf b/NotProgramming/EDABA-LAB/textual-description/description.pdf new file mode 100644 index 00000000..3e0083b3 Binary files /dev/null and b/NotProgramming/EDABA-LAB/textual-description/description.pdf differ diff --git a/NotProgramming/EDABA-LAB/textual-description/description.tex b/NotProgramming/EDABA-LAB/textual-description/description.tex new file mode 100644 index 00000000..48afe888 --- /dev/null +++ b/NotProgramming/EDABA-LAB/textual-description/description.tex @@ -0,0 +1,186 @@ +\documentclass{report} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage{pdfpages} +\title{EDABA Task 1, 2, 3, 4 Report} +\author{Maciej Domański, Krzysztof Rudnicki} +\begin{document} +\maketitle +\chapter{Task 1 - Textual description of a database} +\section{Aim} + +Football manager database in order to be able to simulate football manager game. \\ +It needs to reflect realistically status, description, attributes of entities connected with football in order to ensure better simulation. \\ + + +\section{Objects} \label{Objects Section} +We have chosen to make 6 entities \\ +\begin{itemize} + \item Player - Football players are the most important part of this database, they take part in matches on behalf of the club, and their skill is main determinant of the outcome of games. + \item Club - Represents football club - entity build around the football team which incorporates staff, players. Football teams represent clubs in competitions and club handles their wages. + \item Match - Game governed within football regulations between two football teams. + \item Manager - Responsible for managing team, picking squad, organizing training, buying players, handling team conflicts, choosing and improving tactics. + \item Competition - Event where football teams play against each other in one or more matches in order to win prize. + \item Stadium - Venue assigned to a club where matches and competitions consisting of those matches take place. +\end{itemize} + +\section{Requirements concerning data} +Players and Manager skill is between 1 and 10 \\ +Positions are restricted to Goalkeeper, Defender, Midfield and Attacker \\ +Reputations ( for player, manager, club and match) are restricted between 1 and 5 (as in stars with 1 between each step) \\ +Quality of facilities are restricted between 1 and 5 \\ +Competition should have at least one match \\ +Weather restricted to Sunny, Rainy, Snowy, \\ +Contract can be active or expired \\ + +\section{Business Activities} +Activities we would like to cover are, players exchanged between clubs, player signed to club, player released from club (end of contract for example) +\\ +clubs taking part in matches, clubs hiring players and manager, clubs taking part in competition, +players playing in matches \\ +manager exchanged between clubs, manager signed to club, manager released from club, \\ +Competition organizing matches \\ +Stadium ticket price being raised by club \\ +Get Competition schedule from list of matches + +\chapter{Task 2 - ERD - Entity Relationship Diagram} +\begin{figure}[htpb] + \centering + \includegraphics[width=0.8\textwidth]{erd.pdf} + \caption{ERD} + \label{fig:tikzpgf} +\end{figure} + +\section{Description} +\subsection{Relationship description} + +\paragraph{Stadium $\rightarrow$ Competion} +Stadium can belong to many Competitions. + +\paragraph{Competion $\rightarrow$ Stadium} +Competitions take part in specific Stadiums. + +\paragraph{Competion $\rightarrow$ Match} +Competition is composed of many Matches. + +\paragraph{Match $\rightarrow$ Competion} +Match takes part within specific Competition. + +\paragraph{Competion $\rightarrow$ Club} +Competition consists of many clubs. + +\paragraph{Club $\rightarrow$ Competion} +Club takes part if one or none Competition at a time. + +\paragraph{Club $\rightarrow$ Stadium} +Club has Stadium. + +\paragraph{Stadium $\rightarrow$ Club} +Stadium may belong to a Club. + +\paragraph{Manager $\rightarrow$ Club} +Manager works in one Club. + +\paragraph{Club $\rightarrow$ Manager} +Club employs one Manager. + +\paragraph{Club $\rightarrow$ Player} +Club may employ many Players. + +\paragraph{Player $\rightarrow$ Club} +Player may be contracted to a (one) Club. + +\paragraph{Match $\rightarrow$ Club} +Match is played between two Clubs. + +\paragraph{Club $\rightarrow$ Match} +Club may take part in many Matches. + + +\subsection{Entities and attributes description} +\paragraph{Stadium} +Stadium entity represents Stadium object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item capacity - maximum number of fans that can attend Match + \item reputation - how popular it is + \item location - where is it located + \item build year - when it was build + \item value - how much is it worth + \item ticket price - price to enter a Stadium per person +\end{itemize} + + +\paragraph{Competition} +Competition entity represents Competition object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item prize - Sum of money received by winning Club + \item country - Where the Competition is taking place + \item reputation - how popular it is +\end{itemize} + + +\paragraph{Manager} +Manager entity represents Manager object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item skill - how good the Manager is at managing Club + \item reputation - how popular Manager is + \item age - how old the Manager is + \item wage - how much is the Manager paid monthly +\end{itemize} + + +\paragraph{Club} +Club entity represents Club object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item budget - amount of money it can spend yearly + \item training ground quality - how good training grounds are + \item reputation - how popular it is + \item country of origin - where it was created +\end{itemize} + + +\paragraph{Match} +Match entity represents Match object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item score - current Match score + \item rating - how enjoyable was the game + \item attendance - how many people came + \item weather - weather condition during the match + \item duration - duration of the game + \item date - when the game took place + \item referee name - who refereed the game +\end{itemize} + + +\paragraph{Player} +Player entity represents Player object from \hyperref[Objects Section]{Objects Section} +\begin{itemize} + \item skill - how good the Player is + \item position - position the Player is the best at + \item reputation - how popular Player is + \item contract status - whether the Player has active contract with a Club or is it expired + \item injuries - days until healed (0 if no injuries present) + \item age - how old the Player is + \item wages - how much the Player is paid monthly + \item transfer value - how much the Player is worth +\end{itemize} + +\chapter{Task 3 - Relational schema} +\section{Relational schema} +\includepdf[pages=1]{relational.pdf} +\section{Description} +A relational diagram was generated using SQL developer. The most notable aspects of it are:\\ +\\ +\paragraph{Entities descriptions} +How entities changed, from logical diagram:\\ +In every entity we now have foreign keys to entities with whom entity has relations. In case of many to many relations new data blocks containing information about keys of two connected entities were created +\paragraph{Relations descriptions} +How relations changed from logical diagram. \\ +Most of the relations remained visually the same aside from three, those are: +\begin{itemize} +\item STADIUM:COMPETITION-takes\_place\_in along with CLUB:MATCH-takes\_part\_in have been separated into a relational block based on the fact that those are N:M relations +\item MANAGER:CLUB-works was disjoined into two relations due to the original relation being 1:1 with identity +\end{itemize} + + +\end{document} \ No newline at end of file diff --git a/NotProgramming/EDABA-LAB/textual-description/erd.pdf b/NotProgramming/EDABA-LAB/textual-description/erd.pdf new file mode 100644 index 00000000..8eb7af61 Binary files /dev/null and b/NotProgramming/EDABA-LAB/textual-description/erd.pdf differ diff --git a/NotProgramming/EDABA-LAB/textual-description/relational.pdf b/NotProgramming/EDABA-LAB/textual-description/relational.pdf new file mode 100644 index 00000000..e9ba25ef Binary files /dev/null and b/NotProgramming/EDABA-LAB/textual-description/relational.pdf differ