clients
?clients
et commandes
?clients
?SELECT id FROM lpecom_ds ORDER BY note DESC LIMIT 1;
?SELECT SUM(note) FROM lpecom_ds WHERE id_ds = 77;
?SELECT AVG(note) FROM lpecom_ds WHERE id_apprenti = 44;
?Tom BABAULT - DS QCM MySQL 2023-08-30 - 1 / 3
id_apprenti | prenom | nom |
---|---|---|
40 | Edmund | Kemper |
41 | Paul | Bismuth |
42 | Jean | Michel |
43 | Ted | Bundy |
44 | Caroline | Martinez |
45 | Mary | Henry |
id | id_ds | id_apprenti | devoir | note |
---|---|---|---|---|
788 | 21 | 40 | Plateformes e-commerce | 10.5 |
789 | 77 | 43 | Base de données | 14 |
790 | 77 | 44 | Base de données | 4 |
791 | 21 | 41 | Plateformes e-commerce | 15.5 |
792 | 21 | 42 | Plateformes e-commerce | 8 |
793 | 77 | 41 | Base de données | 14 |
794 | 21 | 43 | Plateformes e-commerce | 9.5 |
795 | 21 | 46 | Plateformes e-commerce | 13 |
796 | 21 | 44 | Plateformes e-commerce | 17 |
797 | 77 | 40 | Base de données | 7.5 |
id_spiritueux | nom | id_marque | id_categorie |
---|---|---|---|
3 | Havana Club 3 ans | 19 | 4 |
37 | Dalmore 12 ans | 23 | 2 |
39 | Dalmore 15 ans | 23 | 2 |
46 | Nikka From the Barrel | 32 | 2 |
51 | HSE VO | 45 | 4 |
59 | La Mauny VO Signature | 55 | 4 |
id_categorie | nom |
---|---|
1 | Gin |
2 | Whisky |
3 | Tequila |
4 | Rhum |
5 | Vodka |
id_marque | nom | nation |
---|---|---|
19 | Havana | Cuba |
23 | Dalmore | Écosse |
32 | Nikka | Japon |
45 | HSE | France |
71 | Ledaig | Écosse |
73 | Teeling | Irlande |
id_cocktail | cocktail | id_categorie |
---|---|---|
13 | Gin Tonic | 1 |
17 | Mojito | 4 |
19 | Tequila sunrise | 3 |
29 | Gin fizz | 1 |
43 | Manhattan | 2 |
51 | Mai Tai | 4 |
Tom BABAULT - DS Exercices MySQL 2023-08-30 - 2 / 3
lpecom_ds
? (1)lpecom_ds
avec en plus, si c'est possible, le prenom et le nom de l'apprenti ? (1)lpecom_ds
avec le prenom et le nom de l'apprenti, uniquement lorsque les apprentis sont présents dans la table lpecom_ds ? (1)lpecom_ds
ayant une note comprise entre 8 et 13 ? (1)Tom BABAULT - DS Exercices MySQL 2023-08-30 - 3 / 3