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:infoh303:tp [2007/10/04 23:16] boverhae |
teaching:infoh303:tp [2009/11/10 11:32] boverhae |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== INFO-H-403 : Bases de données : Travaux pratiques ====== | + | ~~NOTOC~~ |
- | Bienvenue sur la page des travaux pratique du [[:teaching:infoh403|cours de bases de données (INFO-H-403)]]. | + | ====== INFO-H-303 : Bases de données : Travaux pratiques ====== |
+ | |||
+ | Bienvenue sur la page des travaux pratique du [[:teaching:infoh303|cours de bases de données (INFO-H-303)]]. | ||
Vous y trouverez les rappels, les exercices ainsi que leurs corrections. Consultez donc régulièrement cette page. | Vous y trouverez les rappels, les exercices ainsi que leurs corrections. Consultez donc régulièrement cette page. | ||
- | N'hésitez pas à consulter les assistants par mail ou au TP pour toute interrogation ou précision. | ||
+ | ===== Séance 1 : Modèle entité-association (EA) : Partie 1/2 ===== | ||
+ | * {{teaching:infoh303:bdd_tp01_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:bdd_er_exercices1.pdf|Exercices}} | ||
+ | * {{teaching:infoh303:bdd_er_corrections1.pdf|Corrections}} | ||
+ | |||
+ | |||
+ | ===== Séance 2 : Modèle entité-association (EA) : Partie 2/2 ===== | ||
+ | |||
+ | * {{teaching:infoh303:bdd_tp02_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:bdd_er_exercices2.pdf|Exercices}} | ||
+ | * {{teaching:infoh303:bdd_er_corrections2.pdf|Corrections}} | ||
+ | |||
+ | |||
+ | ===== Séance 3 : Traduction EA vers relationnel ===== | ||
+ | |||
+ | * {{teaching:infoh303:bdd_tp03_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:bdd_ertorel_exercices.pdf|Exercices}} | ||
+ | * {{teaching:infoh303:bdd_ertorel_corrections.pdf|Corrections}} | ||
+ | |||
+ | |||
+ | ===== Séance 4 : Algèbre relationnelle - Partie 1/2 ===== | ||
+ | |||
+ | * {{teaching:infoh303:bdd_tp04_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | ||
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données (Séances 4-7)}} | ||
+ | * {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | ||
+ | |||
+ | ===== Séance 5 : Algèbre relationnelle - Partie 2/2 ===== | ||
+ | |||
+ | |||
+ | * {{teaching:infoh303:bdd_tp05_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | ||
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données (Séances 4-7)}} | ||
+ | * {{teaching:infoh303:bdd_tp04-05_corrections.pdf|Corrections}} | ||
+ | |||
+ | ===== Séance 6 : Calcul relationnel tuple ===== | ||
+ | |||
+ | |||
+ | * {{teaching:infoh303:bdd_tp06_slides.pdf|Rappels}} | ||
+ | * {{teaching:infoh303:pufrequetes.pdf|Exercices (Séances 4-7)}} | ||
+ | * {{:teaching:infoh303:bdd_tp04-07_donnees_puf.pdf|Données (Séances 4-7)}} | ||
+ | * {{teaching:infoh303:bdd_tp06_corrections.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:bdd_tp04-07_donnees_puf.pdf|Données (Séances 4-7)}} | ||
+ | * {{teaching:infoh303:bdd_tp07_donnees_puf_mysql.sql.zip|Script SQL PUF pour MySQL}} | ||
+ | * {{teaching:infoh303:pufsql.pdf|Corrections de PUF}} | ||
+ | |||
+ | ===== Séance 8 : SQL (2) ===== | ||
+ | |||
+ | * {{teaching:infoh303:bdd_tp07_slides.pdf|Rappels (Séances 7 et 8)}} | ||
+ | * {{teaching:infoh303:infoh303_northwind_enonce.pdf|Exercices sur la base de données Northwind (séances 8 et 9)}} | ||
+ | * {{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:bdd_tp08-09_northwind.sql.gz|Script SQL Northwind pour MySQL}} | ||
+ | * {{teaching:infoh303:infoh303_northwind_correction_sql.pdf|Corrections SQL}} | ||
+ | |||
+ | ===== Séance 9 : SQL (3) ===== | ||
+ | |||
+ | * {{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:nwschema.pdf|Schéma de la base de données Northwind}} | ||
+ | * {{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:infoh303_northwind_correction_sql.pdf|Corrections SQL}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Séance 10 et 11 : Normalisation ===== | ||
+ | |||
+ | * {{teaching:infoh303:bdd_tp10_slides.pdf|Rappels (séances 10 et 11)}} | ||
+ | * {{teaching:infoh303:bdd_tp10-11_enonce.pdf|Exercices (séances 10 et 11)}} | ||
+ | * {{teaching:infoh303:infoh303_tp10-11_corrections.pdf|Corrections}} | ||
+ | |||
+ | |||
+ | /* | ||
+ | |||
+ | * {{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 1 : Le modèle entité-association (EA) ===== | ||
- | * {{teaching:infoh403:infoh403_tp01_slides.pdf|Rappels}} | ||
- | * {{teaching:infoh403:infoh403_tp01_exercices.pdf|Exercices}} | ||
- | * {{teaching:infoh403:infoh403_tp01_corrections.pdf|Corrections}} | ||
- | * Remarques : | ||
- | * Attention, ces corrigés ne sont pas complets, il manque notamment les identifiants et certaines contraintes, principalement les contraintes de domaine. | ||
- | * Ces 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 ===== | ===== 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) | ||
+ | |||
+ | |||
+ | ===== 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éances 10 et 11 : Normalisation ===== | ||
+ | |||
+ | * {{teaching:infoh303:infoh303_tp10_slides.pdf|Rappels}} (version corrigée au 19/12/2007) | ||
+ | * {{teaching:infoh303:infoh303_tp10-11_enonce.pdf|Exercices}} | ||
+ | * {{teaching:infoh303:infoh303_tp10-11_corrections.pdf|Corrections}} | ||
+ | |||
+ | */ |