diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 16331af..31699c6 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -4,21 +4,21 @@ "type": "split", "children": [ { - "id": "c83a053409ea7adb", + "id": "9253fbc325f1f0f1", "type": "tabs", "children": [ { - "id": "0864efd70ac12987", + "id": "f166bfa43f92f9fb", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "EGOD/EGOD - Demule thenon.md", + "file": "BD/TD.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "EGOD - Demule thenon" + "title": "TD" } } ] @@ -188,8 +188,9 @@ "bases:Créer une nouvelle base": false } }, - "active": "0864efd70ac12987", + "active": "f166bfa43f92f9fb", "lastOpenFiles": [ + "Sans titre.base", "files/Pasted image 20261124085649.png", "DEV1.1/TP/DEV1.1/cours/CM.md", "DEV1.1/TP/DEV1.1/TP20/4/src/suite.bin", @@ -217,7 +218,6 @@ "files/Pasted image 20261116160513.png", "files/Pasted image 20261116160357.png", "files/Pasted image 20261116160330.png", - "files/Pasted image 20261116160133.png", "files", "EGOD/EGOD - Demule thenon.md", "EGOD/Mistral AI.md", diff --git a/BD/TD.md b/BD/TD.md index 2e03a78..d04bbb3 100644 --- a/BD/TD.md +++ b/BD/TD.md @@ -455,3 +455,61 @@ d) SELECT NomPerdant FROM Rencontre EXCEPT SELECT NomGagant FROM Rencontre; // except est remplacer par MINUS sur oracle ``` +# Exercice TD N°8 + +## exercice 1 + +### Question 1 + +Pierre à eu 12 au 1er contrôle de SGBD +et 14 au 2ème contrôle de SGBD + +### Question 2 + +#### A. + +| | | Évaluation | | | +| -------- | -------- | ---------- | ---------- | ----------- | +| | | note | | | +| | | \| | | | +| Étudiant | <-> | Contrôle | <-> | Matière | +| prénom | 1 * | numéro | * 1 | nom_matière | +le contrôle doit appartenir à la matière +l'étudiant doit être inscrit dans la matière +#### B. + +| | Évaluation | | +| -------- | ------------------ | ---------- | +| | note | | +| | \| | | +| Étudiant | <------> | Matière | +| prénom | * * | NomMatière | + +Une Seule évaluation peut exister par matière +#### C. + + +| | | Évaluation | | | +| -------- | ---- | ---------- | ---- | ----------- | +| | * | note | * | | +| 1 | | \| | | 1 | +| Étudiant | <--- | ----+----- | ---> | controle | +| nom | | \| | | NumContrôle | +| * | | Matère | | * | +| | * | NomMatière | 1 | | +une seule évaluation au plus +pas de note + +la réponse A est la bonne + + +## exercice 2 + +### 1. +jean, dupond, 10/03/2000, +5, Kilos, salde 15, boîtes, thon, 2, kilos, salade, dumoulin, bretagne, 0.50€, 3, Kilos, salade, Lechat, Rennes, 0.60€, thon, leblanc, Paris, 1€ + +### 2. +PrénomClient, NomClient, DateCommande, QuantitéCommandé, amitié, NomProduit, QuantitéAcheté, NomFournisseur, adresseFournisseur, Prix + + diff --git a/Sans titre.base b/Sans titre.base new file mode 100644 index 0000000..e69de29