td1
This commit is contained in:
parent
f9eeb9f74f
commit
fccdfb2c30
24
TD1/Scripts.sql
Normal file
24
TD1/Scripts.sql
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/* Exemple sélectionner auteurs qui ont écris un articles sur le theme du covid
|
||||||
|
|
||||||
|
+─────+──────────+
|
||||||
|
| id | theme |
|
||||||
|
+─────+──────────+
|
||||||
|
| 1 | Mondial |
|
||||||
|
| 2 | Covid |
|
||||||
|
+─────+──────────+
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
SELECT
|
||||||
|
a.*
|
||||||
|
FROM
|
||||||
|
auteurs au
|
||||||
|
JOIN
|
||||||
|
auteurs.articles aa ON au.id = aa.id_auteur
|
||||||
|
JOIN
|
||||||
|
articles art ON aa.id_article = art.id
|
||||||
|
JOIN
|
||||||
|
themes t ON art.id_theme = t.id
|
||||||
|
WHERE
|
||||||
|
t.id = 2
|
||||||
|
|
BIN
TD1/foot.png
Normal file
BIN
TD1/foot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
TD1/footCor.PNG
Normal file
BIN
TD1/footCor.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
TD1/mediatheque.PNG
Normal file
BIN
TD1/mediatheque.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
TD1/presse.PNG
Normal file
BIN
TD1/presse.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
TD1/presse2.PNG
Normal file
BIN
TD1/presse2.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
@ -1 +0,0 @@
|
|||||||
<mxGraphModel><root><mxCell id="0"/><mxCell id="1" parent="0"/></root></mxGraphModel>
|
|
Loading…
x
Reference in New Issue
Block a user