This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
teaching:infoh415:tp [2023/10/02 15:27] ezimanyi [Temporal databases] |
teaching:infoh415:tp [2023/12/11 15:11] ezimanyi [Active databases] |
||
---|---|---|---|
Line 22: | Line 22: | ||
* {{:undefined:tp12.zip|TP3}} | * {{:undefined:tp12.zip|TP3}} | ||
- | * [[https://drive.google.com/file/d/1eefHvPWexMu7Pns3eblzOLzpv0hosHKS/view?usp=sharing|Database File]] | + | * [[https://drive.google.com/file/d/1YCOEZdshWATxWPru24vFtFyRyzcomXBd/view?usp=sharing|GeoNorthwind PostGIS 3 Database File]] |
Line 70: | Line 70: | ||
===== Temporal databases ===== | ===== Temporal databases ===== | ||
- | ==== Sessions 7, 8 and 9 ==== | + | ==== Sessions 7 and 8 ==== |
* {{:teaching:infoh415:2021_infoh415_tp04_05_06_slides.pdf|Recap}} | * {{:teaching:infoh415:2021_infoh415_tp04_05_06_slides.pdf|Recap}} | ||
- | * {{:teaching:infoh415:difference_full.pdf| Drawing temporal difference}} | + | * {{:teaching:infoh415:temporal_difference_example.pdf| Drawing temporal difference}} |
* {{:teaching:infoh415:temporal_join_example.pdf| Drawing temporal join}} | * {{:teaching:infoh415:temporal_join_example.pdf| Drawing temporal join}} | ||
+ | * {{:teaching:infoh415:temporal_coalescing_example.pdf| Drawing temporal coalescing}} | ||
* {{:teaching:infoh415:2021_translationea.pdf| Traduction of EA schemas}} | * {{:teaching:infoh415:2021_translationea.pdf| Traduction of EA schemas}} | ||
- | * {{:teaching:infoh415:2021_infoh415_tp04_05_06_exercices.pdf|Exercises and solutions}} | + | * {{:teaching:infoh415:temporal_database_exercises.pdf|Exercises and solutions}} |
- | * {{:teaching:infoh415:infoh415_1415_tp04_05_06_scripts.zip|SQL Server Scripts}} | + | * {{:teaching:infoh415:postgresql_server_script.zip|SQL Server Scripts}} |
* {{:teaching:infoh415:infoh415_tp05_ex10.pdf|Explanation of 10th query exercise}} | * {{:teaching:infoh415:infoh415_tp05_ex10.pdf|Explanation of 10th query exercise}} | ||
* {{:teaching:infoh415:ex10_aggregation_step_by_step.pdf|10th query step by step drawing}} | * {{:teaching:infoh415:ex10_aggregation_step_by_step.pdf|10th query step by step drawing}} | ||
* Planning: | * Planning: | ||
- | * Session 7: Exercice 1 (relational schema) and queries 1 to 5 | + | * Session 7: Exercice 1 (relational schema) and queries 1 to 8 |
- | * Session 8: Queries 6 to 8 and constraints | + | * Session 8: Queries 9 to 13 |
- | * Session 9: Queries 9 to 13 | + | |
===== Active databases ===== | ===== Active databases ===== | ||
- | ==== Before Session 7 ==== | + | ==== Before Session 9 ==== |
- | If you are planning on working on your own laptop/computer (which is strongly advised given the state of the computers in the computer rooms), please download and install the following before the first exercise session. | + | Please download and install the following before the first exercise session. |
- | * For windows: | + | * For windows: |
- | * [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]] or [[https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017|SQL Server Management Studio]] | + | * Server: [[https://www.microsoft.com/en-us/sql-server/sql-server-downloads|SQL Server Express]] |
- | * [[https://www.microsoft.com/en-us/sql-server/sql-server-downloads|SQL Server Express]] | + | * GUI: [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]] or [[https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017|SQL Server Management Studio]] or [[https://www.jetbrains.com/datagrip/| DataGrip]] |
* For mac: | * For mac: | ||
- | * [[https://database.guide/how-to-install-sql-server-on-a-mac/|Follow this tutorial]]. Note that I could not verify if this tutorial works by myself. | + | * [[https://database.guide/how-to-install-sql-server-on-a-mac/|Follow this tutorial]]. Note that for the GUI, you can also use [[https://www.jetbrains.com/datagrip/| DataGrip]]. |
* For linux: | * For linux: | ||
- | * [[https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver15&viewFallbackFrom=azuresqldb-current|SQL Server]]. While choosing the "edition", please select the free "Express" edition. | + | * Server: [[https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-server-ver15&viewFallbackFrom=azuresqldb-current|SQL Server]]. While choosing the "edition", please select the free "Express" edition. |
- | * [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]]. To connect to your SQL Server express, please indicate server: "localhost", login: "SA" and the password selected during the installation of SQL Server. | + | * GUI: [[https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15| Azure studio]] or [[https://www.jetbrains.com/datagrip/| DataGrip]]. To connect to your SQL Server express, please indicate server: "localhost", login: "SA" and the password selected during the installation of SQL Server. |
- | ==== Session 7 : Exercises "PhD" ==== | + | ==== Session 9 : Exercises "PhD" ==== |
- | * {{:teaching:infoh415:2021_adb_tp1_slides.pdf|Slides: Intro + recap}} | + | * {{:teaching:infoh415:intro_active_databases.pdf|Slides: Intro}} |
* {{:teaching:infoh415:2021_adb_tp1_exercices.pdf|Exercises + Solutions}} | * {{:teaching:infoh415:2021_adb_tp1_exercices.pdf|Exercises + Solutions}} | ||
* {{:teaching:infoh415:2021_adb_tp1_sql.zip|SQL Server Scripts}} | * {{:teaching:infoh415:2021_adb_tp1_sql.zip|SQL Server Scripts}} | ||
- | ==== Sessions 8 and 9 : Exercises "Employees Departments Projects" ==== | + | ==== Sessions 10 and 11 : Exercises "Employees Departments Projects" ==== |
| | ||
* {{:teaching:infoh415:2021_adb_tp02_03_slides.pdf|Recap}} | * {{:teaching:infoh415:2021_adb_tp02_03_slides.pdf|Recap}} | ||
* {{:teaching:infoh415:2021_adb_exercices.pdf|Exercises + Solutions}} | * {{:teaching:infoh415:2021_adb_exercices.pdf|Exercises + Solutions}} | ||
- | * {{:teaching:infoh415:2021_adb_tp02_03sql.zip|SQL Server Scripts}} | + | * {{:teaching:infoh415:Adb_2_3.zip|New scripts}} |
- | * {{:teaching:infoh415:sql.zip|New scripts}} | + | |
+ | ==== Session 12 ==== | ||
+ | * {{:teaching:infoh415:temporal_constraints_exercises.pdf|Exercises + Solutions}} | ||
+ | * {{:teaching:infoh415:infoh415_tp12_scripts.zip|TP12 scripts}} | ||
/* | /* |