This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
teaching:infoh303:tp [2008/12/04 15:38] boverhae |
teaching:infoh303:tp [2024/02/19 16:07] (current) ezimanyi [Séance 1 : Modèle entité-association (EA) : Partie 1/2] |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== Séance 1 : Modèle entité-association (EA) : Partie 1/2 ===== | ===== Séance 1 : Modèle entité-association (EA) : Partie 1/2 ===== | ||
- | * {{teaching:infoh303:bdd_tp01_slides.pdf|Rappels}} | + | * {{:teaching:infoh303:2024_bdd_tp01_slides.pdf|Rappels}} |
* {{teaching:infoh303:bdd_er_exercices1.pdf|Exercices}} | * {{teaching:infoh303:bdd_er_exercices1.pdf|Exercices}} | ||
* {{teaching:infoh303:bdd_er_corrections1.pdf|Corrections}} | * {{teaching:infoh303:bdd_er_corrections1.pdf|Corrections}} | ||
Line 33: | Line 33: | ||
===== Séance 4 : Algèbre relationnelle - Partie 1/2 ===== | ===== Séance 4 : Algèbre relationnelle - Partie 1/2 ===== | ||
+ | |||
+ | Exercices 1 à 11 | ||
* {{teaching:infoh303:bdd_tp04_slides.pdf|Rappels}} | * {{teaching:infoh303:bdd_tp04_slides.pdf|Rappels}} | ||
- | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | + | * {{teaching:infoh303:pufrequetes.pdf|Exercices}} |
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données}} | ||
* {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | * {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | ||
+ | * {{:teaching:infoh303:pufalgebre_sequence.pdf|Corrections en séquences}} | ||
+ | |||
===== Séance 5 : Algèbre relationnelle - Partie 2/2 ===== | ===== Séance 5 : Algèbre relationnelle - Partie 2/2 ===== | ||
+ | Exercices 12 à 20 | ||
* {{teaching:infoh303:bdd_tp05_slides.pdf|Rappels}} | * {{teaching:infoh303:bdd_tp05_slides.pdf|Rappels}} | ||
- | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | + | * {{teaching:infoh303:pufrequetes.pdf|Exercices}} |
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données}} | ||
* {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | * {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | ||
- | ===== Séance 6 : Calcul relationnel tuple ===== | ||
- | * {{teaching:infoh303:bdd_tp06_slides.pdf|Rappels}} | + | ===== Séance 6 : SQL (1) ===== |
- | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | + | |
- | * {{teaching:infoh303:bdd_tp06_corrections.pdf|Corrections}} | + | |
+ | * {{teaching:infoh303:bdd_tp07_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:bdd_tp04-07_requetes.pdf|Exercices}} | ||
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données}} | ||
+ | * {{:teaching:infoh303:puf.sqlite.zip|Base de données pour SQLite}} | ||
+ | * {{:teaching:infoh303:bdd_tp07_resultats.pdf|Nombre de réponses par requête}} | ||
+ | * {{teaching:infoh303:bdd_tp07_correction.pdf|Corrections}} | ||
- | ===== Séance 7 : SQL (1) ===== | ||
- | |||
- | * {{teaching:infoh303:bdd_tp07_slides.pdf|Rappels (Séances 7 et 8)}} | ||
- | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | ||
- | * {{teaching:infoh303:createpuf.sql.zip|Script SQL PUF}} | ||
- | * {{teaching:infoh303:resultatspuf.pdf|Nombre de réponses par requête}} | ||
- | * {{teaching:infoh303:pufsql.pdf|Corrections de PUF}} | ||
- | ===== Séance 8 : SQL (2) ===== | + | ===== Séance 7 : SQL (2) ===== |
- | * {{teaching:infoh303:bdd_tp07_slides.pdf|Rappels (Séances 7 et 8)}} | + | * {{:teaching:infoh303:bdd_tp05_slides_2018.pdf|Rappels}} |
- | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind (séances 8 et 9)}} | + | * {{teaching:infoh303:bdd_tp04-07_requetes.pdf|Exercices}} |
- | * {{teaching:infoh303:nwschema.pdf|Schéma de la base de données Northwind}} | + | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données}} |
- | * {{teaching:infoh303:nwresults.pdf|Nombre de réponses par requête}} | + | * {{:teaching:infoh303:puf.sqlite.zip|Base de données pour SQLite}} |
- | * {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections SQL}} | + | * {{:teaching:infoh303:bdd_tp07_resultats.pdf|Nombre de réponses par requête}} |
+ | * {{teaching:infoh303:bdd_tp07_correction.pdf|Corrections}} | ||
- | ===== Séance 9 : SQL (3) ===== | + | ===== Séance 8 : SQL (3) PAS GEO ===== |
+ | |||
+ | Requêtes 3, 6, 7, 11, 13, 16, 17 et 19 | ||
* {{teaching:infoh303:bdd_tp08_slides.pdf|Rappels}} | * {{teaching:infoh303:bdd_tp08_slides.pdf|Rappels}} | ||
- | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind (séances 8 et 9)}} | + | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind}} |
* {{teaching:infoh303:nwschema.pdf|Schéma de la base de données Northwind}} | * {{teaching:infoh303:nwschema.pdf|Schéma de la base de données Northwind}} | ||
* {{teaching:infoh303:nwresults.pdf|Nombre de réponses par requête}} | * {{teaching:infoh303:nwresults.pdf|Nombre de réponses par requête}} | ||
+ | * {{:teaching:infoh303:bdd_tp08-09_northwind.sql.gz|Script SQL Northwind pour MySQL}} | ||
+ | * {{:teaching:infoh303:bdd_tp08-09_northwind_sqlite.sql.gz|Script SQL Northwind pour SQLite}} | ||
+ | * {{:teaching:infoh303:northwind_sqlite.db.zip|Base de données Northwind pour SQLite}} | ||
* {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections SQL}} | * {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections SQL}} | ||
- | ===== Séance 10 : Normalisation ===== | + | ===== Séance 9 : Calcul relationnel tuple PAS GEO ===== |
- | * {{teaching:infoh303:bdd_tp10_slides.pdf|Rappels (Séances 10 et 11)}} | + | Exercices 4, 6, 9, 11, 12, 13, 14, 17 et 19 |
- | * {{teaching:infoh303:bdd_tp10-11_enonce.pdf|Exercices (Séances 10 et 11)}} | + | |
- | + | ||
- | + | ||
- | /* | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp01_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp01_exercices.pdf|Exercices}} | + | |
- | * {{teaching:infoh303:infoh303_tp01_corrections.pdf|Corrections}} | + | |
- | + | ||
- | Remarques : Les corrigés ne sont pas complets, il manque notamment les identifiants et certaines contraintes, principalement les contraintes de domaine. Les solutions ne sont pas uniques, il peut y avoir plusieurs façons de modéliser le même problème. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 2 : Le modèle entité-association (EA 2) : La généralisation ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp02_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp02_exercices.pdf|Exercices}} | + | |
- | * {{teaching:infoh303:infoh303_tp02_corriges.pdf|Corrections}} | + | |
- | + | ||
- | + | ||
- | Remarque : Les énoncés de cette séance contiennent également des exercices supplémentaires pour vous entrainer. | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 3 : Traduction du modèle entité-association vers le modèle relationnel ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp03_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp03_exercices.pdf|Exercices}} | + | |
- | * {{teaching:infoh303:infoh303_tp03_corrections.pdf|Corrections}} | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 4 : Algèbre relationnelle (1) ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp04_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp04-09_exercices.pdf|Exercices (séances 4 à 8)}} (Exercices 1 à 11 en algèbre) | + | |
- | * {{teaching:infoh303:infoh303_tp04-05_corrections.pdf|Corrections (séances 4 et 5)}} (version corrigée au 02/01/2008) | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 5 : Algèbre relationnelle (2) ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp05_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp04-09_exercices.pdf|Exercices (séances 4 à 8)}} (Exercices 12 à 20 en algèbre) | + | |
- | * {{teaching:infoh303:infoh303_tp04-05_corrections.pdf|Corrections (séances 4 et 5)}} (version corrigée au 02/01/2008) | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 6 : Calcul relationnel tuple ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp06_slides_handout.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp04-09_exercices.pdf|Exercices (séances 4 à 8)}} | + | |
- | * {{teaching:infoh303:infoh303_tp06_corrections.pdf|Corrections}} | + | |
- | * {{teaching:infoh303:infoh303_drc_corrections.pdf|Corrections en calcul relationnel domaine}} (non fait au TP, version corrigée au 02/01/2008) | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 7 : SQL (1) ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp07_slides.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp04-09_exercices.pdf|Exercices (séances 4 à 8)}} | + | |
- | * {{teaching:infoh303:infoh303_tp07-08_corrections.pdf|Corrections (séances 7 et 8)}} (version corrigée au 02/01/2008) | + | |
- | + | ||
- | + | ||
- | + | ||
- | ===== Séance 8 : SQL (2) ===== | + | |
- | + | ||
- | * {{teaching:infoh303:infoh303_tp08_slides_handout.pdf|Rappels}} | + | |
- | * {{teaching:infoh303:infoh303_tp04-09_exercices.pdf|Exercices (séances 4 à 8)}} | + | |
- | * {{teaching:infoh303:infoh303_tp07-08_corrections.pdf|Corrections (séances 7 et 8)}} (version corrigée au 02/01/2008) | + | |
- | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind (séances 8 et 9)}} | + | |
- | * {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections Northwind SQL (séances 8 et 9)}} (version corrigée au 07/12/07) | + | |
+ | * {{teaching:infoh303:bdd_tp06_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:pufrequetes.pdf|Exercices}} | ||
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données}} | ||
+ | * {{teaching:infoh303:bdd_tp06_corrections.pdf|Corrections}} | ||
- | ===== Séance 9 : SQL (3) ===== | ||
- | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind (séances 8 et 9)}} | ||
- | * {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections Northwind SQL (séances 8 et 9)}} (version corrigée au 07/12/07) | ||
- | * {{teaching:infoh303:infoh303_northwind_correction_algebre.pdf|Corrections Northwind en algèbre relationnelle}} (non fait au TP) | ||
- | * {{teaching:infoh303:infoh303_northwind_correction_calcul.pdf|Corrections Northwind en calcul relationnel}} (non fait au TP) | ||
+ | ===== Séance 10 : Normalisation (1) ===== | ||
- | ===== Séances 10 et 11 : Normalisation ===== | + | * {{:teaching:infoh303:bdd_tp10_slides.pdf|Rappels}} |
+ | * {{:teaching:infoh303:bdd_tp10_enonce.pdf|Exercices}} | ||
+ | * {{:teaching:infoh303:bdd_tp10_correction.pdf|Corrections}} | ||
- | * {{teaching:infoh303:infoh303_tp10_slides.pdf|Rappels}} (version corrigée au 19/12/2007) | + | ===== Séance 11 : Normalisation (2) ===== |
- | * {{teaching:infoh303:infoh303_tp10-11_enonce.pdf|Exercices}} | + | |
- | * {{teaching:infoh303:infoh303_tp10-11_corrections.pdf|Corrections}} | + | |
- | */ | + | * {{:teaching:infoh303:bdd_tp11_slides.pdf|Rappels}} |
+ | * {{:teaching:infoh303:bdd_tp11_enonce.pdf|Exercices}} | ||
+ | * {{:teaching:infoh303:bdd_tp11_correction.pdf|Corrections}} | ||
+ | |