sync: 2026-11-17 14:20

This commit is contained in:
Benji committed 2026-11-17 14:20:02 +01:00
1 parent d0a2a2a90e
commit 0b97400747
2 files changed
+57 -7

No files matched your search

+6 -7
View File
@@ -4,21 +4,21 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "55257a310630f863", "id": "dc1bdeb2c24ffc26",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "aeb3670223cd04d0", "id": "dad804e3573a8974",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "EGOD/EGOD - Large Sandrine.md", "file": "BD/TD.md",
"mode": "source", "mode": "source",
"source": false "source": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "EGOD - Large Sandrine" "title": "TD"
} }
} }
] ]
@@ -188,8 +188,9 @@
"bases:Créer une nouvelle base": false "bases:Créer une nouvelle base": false
} }
}, },
"active": "aeb3670223cd04d0", "active": "dad804e3573a8974",
"lastOpenFiles": [ "lastOpenFiles": [
"EGOD/EGOD - Large Sandrine.md",
"files/Pasted image 20261116161005.png", "files/Pasted image 20261116161005.png",
"files/Pasted image 20261116160513.png", "files/Pasted image 20261116160513.png",
"files/Pasted image 20261116160357.png", "files/Pasted image 20261116160357.png",
@@ -200,9 +201,7 @@
"files/Pasted image 20261116154721.png", "files/Pasted image 20261116154721.png",
"files/Pasted image 20261116154718.png", "files/Pasted image 20261116154718.png",
"files/Pasted image 20261116154712.png", "files/Pasted image 20261116154712.png",
"files/Pasted image 20261116154657.png",
"files", "files",
"EGOD/EGOD - Large Sandrine.md",
"DEV1.1/CM.md", "DEV1.1/CM.md",
"DEV1.2/CM.md", "DEV1.2/CM.md",
"EGOD/EGOD - Demule thenon.md", "EGOD/EGOD - Demule thenon.md",
+51
View File
@@ -402,4 +402,55 @@ AND EXISTS (SELECT * FROM Emprunt E JOIN Agence A ON E.NumC = A.NumC WHERE C.Num
SELECT C.NumC,C.NomC FROM Client C NATURAL JOIN Compte NATURAL JOIN Agence A WHERE A.NomAg = "Paris étoile" AND SELECT C.NumC,C.NomC FROM Client C NATURAL JOIN Compte NATURAL JOIN Agence A WHERE A.NomAg = "Paris étoile" AND
``` ```
# TD N°7
## exercice 1
a)
π (Nom, Age, Rang)
│
⋈ (Nom = NomJoueur)
╱ ╲
Joueur σ (LieuTournoi='Roland-Garros' ∧ Année=2002)
│
Gain
b)
π (Nom, Nationalité)
│
⋈ (Nom = NomJoueur)
╱ ╲
Joueur ∩
╱ ╲
π (NomJoueur) π (NomJoueur)
│ │
σ (Lieu='Roland-Garros' ∧ Année=2001) σ (Lieu='Wimbledon' ∧ Année=2001)
│ │
Gain Gain
c)
|
(Nom = NomJoueur)
## exercice 3
a)
```sql
SELECT Nom, Age, Rang FROM Joueur, Gain WHERE Joueur.Nom = Gain.NomJoueur AND Gain.LieuTournoi = "Roland-Garros" AND Gain.Année = 2002;
```
b)
```sql
SELECT Nom, Age, Rang FROM Joueur, Gain WHERE Joueur.Nom = Gain.NomJoueur AND Gain.LieuTournoi = "Roland-Garros" AND Gain.Année = 2001
INTERSECT
SELECT Nom, Age, Rang FROM Joueur, Gain WHERE Joueur.Nom = Gain.NomJoueur AND Gain.LieuTournoi = "Wimbledon" AND Gain.Année = 2001;
```
c)
```sql
SELECT NomJoueur FROM Gain WHERE NOT EXISTS (SELECT NomGagnant FROM Rencontre);
```
d)
```sql
SELECT
```