diff --git a/Notebooks/DB_4_disquaire_correction.ipynb b/Notebooks/DB_4_disquaire_correction.ipynb
new file mode 100644
index 0000000000000000000000000000000000000000..ae22fc438e94aa376c277c1260de50bb6bc5edc6
--- /dev/null
+++ b/Notebooks/DB_4_disquaire_correction.ipynb
@@ -0,0 +1 @@
+{"cells":[{"metadata":{},"cell_type":"markdown","source":"<div style=\"padding:20px;background-color:papayawhip;\" > \n<h3 style=\"color:chocolate\"> <i class=\"fa fa-info\" aria-hidden=\"true\"> </i> &nbsp; Lisez bien les consignes ! &nbsp;  <i class=\"fa fa-info\" aria-hidden=\"true\"></h3> \n\n<p>\n    \n1) Commencer par Exécuter la cellule suivante (la base de donnée ci-dessous) afin de la charger.\n\n2) Créer les requêtes SQL pour chaque question en vous aidant de votre mémo SQL.\n\n3) Enregistrez votre travail avec le bouton  <i class=\"fa fa-floppy-o\" aria-hidden=\"true\"> </i> et déposez-le dans la zone Rendu (raccourci sur le bureau) spécifié par votre enseignant. \n</p> \n</div>"},{"metadata":{},"cell_type":"markdown","source":"# Présentation de la base de données \"Médiathèque Musicale\"\n\n## 📌 Introduction\nCette base de données est conçue pour gérer une médiathèque musicale où des clients peuvent emprunter des albums. Elle contient des informations sur les albums, les artistes, les clients et les emprunts réalisés.\n\n## 📂 Structure de la Base\nLa base est composée de plusieurs tables principales :\n\n- **Album** : Contient les albums disponibles, leur titre, leur année de sortie et leur disponibilité.\n- **Artiste** : Répertorie les artistes avec leur nom et prénom.\n- **Artiste_de** : Associe les albums à leurs artistes (relation plusieurs-à-plusieurs).\n- **Client** : Stocke les informations des clients (nom, prénom, email).\n- **Emprunt** : Enregistre les albums empruntés par les clients avec la date d'emprunt.\n\n## 🔗 Relations entre les tables\n- Un **album** peut être associé à plusieurs **artistes** via la table `Artiste_de`.\n- Un **client** peut emprunter plusieurs **albums**, et un **album** peut être emprunté par plusieurs **clients** via la table `Emprunt`. \n\n![Image d'une fleur](https://gitedu.hesge.ch/info_sismondi/activites-2in-do/-/raw/main/Notebooks/schema_relationnel_simple.png?ref_type=heads&inline=false)"},{"metadata":{"trusted":true},"cell_type":"code","source":"CREATE TABLE Album(\n    id_album INTEGER PRIMARY KEY AUTOINCREMENT,\n    titre VARCHAR(100), \n    annee INT, \n    dispo INT\n);\n\n\nCREATE TABLE Artiste(\n    id_artiste INTEGER PRIMARY KEY AUTOINCREMENT,\n    nom VARCHAR(100),\n    prenom VARCHAR(100)\n);\n\n\nCREATE TABLE Artiste_de(\n    id_artiste INT REFERENCES Artiste(id_artiste),\n    id_album INT REFERENCES Album(id_album),\n    PRIMARY KEY (id_artiste, id_album)\n);\n    \n\nCREATE TABLE Client(\n    id_client INTEGER PRIMARY KEY AUTOINCREMENT, \n    nom VARCHAR(100), \n    prenom VARCHAR(100), \n    email VARCHAR(100)\n);\n\n\nCREATE TABLE Emprunt(\n    id_client INT REFERENCES Client(id_client),\n    id_album INT REFERENCES Album(id_album),\n    jour DATE, \n    PRIMARY KEY (id_client, id_album)\n);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (1,'Blues Breakers',1966,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (2,'I Still Do',2016,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (3,'Aftermath',1966,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (4,'Off the Wall',1979,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (5,'Axis : Bold As Love',1967,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (6,'Thriller',1982,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (7,'Black and Blue',1976,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (8,'Riding With The King',2000,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (9,'Bad',1987,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (10,'It''s Only Rock''n Roll',1974,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (11,'Don''t Explain',2011,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (12,'Aretha',1980,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (13,'Abbey Road',1969,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (14,'Let It Be',1970,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (15,'44/876',2018,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (16,'Lady Soul',1968,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (17,'Back in Black',1980,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (18,'Sacred Love',2003,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (19,'Songs in the Key of Life',1976,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (20,'Power Up',2020,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (21,'The Last Ship',2013,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (22,'Signed, Sealed & Delivered',1970,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (23,'Fire on the Floor',2016,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (24,'Continus time',2005,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (25,'Continuum',2006,0);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (26,'Exodus',1977,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (27,'Sex Machine',1970,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (28,'T.N.T.',1975,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (29,'Leave the Light On',2003,1);\nINSERT INTO \"Album\" (\"id_album\",\"titre\",\"annee\",\"dispo\") VALUES (30,'Blues Deluxe',2003,1);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (1,'Clapton','Éric');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (2,'Mayall','John');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (3,'Hendrix','Jimi');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (4,'Mayer','John');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (5,'The Rolling Stones',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (6,'Hart','Beth');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (7,'Jackson','Michael');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (8,'B.B. King',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (9,'Franklin','Aretha');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (10,'The Beatles',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (11,'Sting',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (12,'Shaggy',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (13,'AC/DC',NULL);\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (14,'Wonder','Stevie');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (15,'Bonamassa','Joe');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (16,'Marley','Bob');\nINSERT INTO \"Artiste\" (\"id_artiste\",\"nom\",\"prenom\") VALUES (17,'Brown','James');\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (1,1);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (1,2);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (1,8);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (2,1);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (3,5);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (4,24);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (4,25);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (5,3);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (5,7);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (5,10);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (6,11);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (6,23);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (6,29);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (7,4);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (7,6);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (7,9);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (8,8);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (9,12);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (9,16);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (10,13);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (10,14);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (11,15);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (11,18);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (11,21);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (12,15);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (13,17);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (13,20);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (13,28);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (14,19);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (14,22);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (15,11);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (15,30);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (16,26);\nINSERT INTO \"Artiste_de\" (\"id_artiste\",\"id_album\") VALUES (17,27);\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (1,'Dupont','Florine','dupont.florine@domaine.net');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (2,'Dupont','Michel','dupont.michel@domaine.net');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (3,'Marchand','Grégoire','greg.marchand49@music.com');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (4,'Michel','Valérie','vmichel5@monmail.com');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (5,'Pacot','Jean','jpacot@music.com');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (6,'Durand','Julien','jdurand9@email.fr');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (7,'Moreau','Alain','amoreau1@abc.de');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (8,'Rouger','Léa','');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (9,'Dubois','Philippe','pdubois5@chezmoi.net');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (10,'Robert','Pascal','probert9@monmail.com');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (11,'Fournier','Marie','mfournier@abc.de');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (12,'Fournier','David','dfournier4@abc.de');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (13,'Lefranc','Françoise','flaurent3@monmail.com');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (14,'Simon','Sandrine','ssimon2@domaine.net');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (15,'Petit','Sébastien','spetit4@email.fr');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (16,'Bernardin','Stéphanie','sbernard1@chezmoi.net');\nINSERT INTO \"Client\" (\"id_client\",\"nom\",\"prenom\",\"email\") VALUES (17,'Petit','Morgane','morgane.petit@email.fr');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (1,5,'2021-09-10');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (3,8,'2021-08-18');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (3,24,'2021-08-18');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (5,25,'2021-09-12');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (5,6,'2021-10-10');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (9,20,'2021-09-28');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (11,14,'2021-10-08');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (7,15,'2021-10-08');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (7,19,'2021-10-08');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (7,16,'2021-10-15');\nINSERT INTO \"Emprunt\" (\"id_client\",\"id_album\",\"jour\") VALUES (16,29,'2021-10-01');                      \n\n\n","execution_count":1,"outputs":[]},{"metadata":{"trusted":true},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 1: \n    Lister les différentes années où des albums sont sortis (sans doublons). 🎤</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT DISTINCT nom, prenom FROM Artiste\nJOIN Artiste_de ON Artiste.id_artiste = Artiste_de.id_artiste;\n","execution_count":4,"outputs":[{"output_type":"execute_result","execution_count":4,"data":{"text/plain":"nom\tprenom\nClapton\tÉric\nMayall\tJohn\nHendrix\tJimi\nMayer\tJohn\nThe Rolling Stones\t\nHart\tBeth\nJackson\tMichael\nB.B. King\t\nFranklin\tAretha\nThe Beatles\t\nSting\t\nShaggy\t\nAC/DC\t\nWonder\tStevie\nBonamassa\tJoe\nMarley\tBob\nBrown\tJames","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>nom</th><th>prenom</th></tr></thead><tbody><tr><td>Clapton</td><td>Éric</td></tr><tr><td>Mayall</td><td>John</td></tr><tr><td>Hendrix</td><td>Jimi</td></tr><tr><td>Mayer</td><td>John</td></tr><tr><td>The Rolling Stones</td><td>null</td></tr><tr><td>Hart</td><td>Beth</td></tr><tr><td>Jackson</td><td>Michael</td></tr><tr><td>B.B. King</td><td>null</td></tr><tr><td>Franklin</td><td>Aretha</td></tr><tr><td>The Beatles</td><td>null</td></tr><tr><td>Sting</td><td>null</td></tr><tr><td>Shaggy</td><td>null</td></tr><tr><td>AC/DC</td><td>null</td></tr><tr><td>Wonder</td><td>Stevie</td></tr><tr><td>Bonamassa</td><td>Joe</td></tr><tr><td>Marley</td><td>Bob</td></tr><tr><td>Brown</td><td>James</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 2: Lister les albums du plus récent au plus ancien. 🎵 </h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre, annee FROM Album\nORDER BY annee DESC;\n","execution_count":5,"outputs":[{"output_type":"execute_result","execution_count":5,"data":{"text/plain":"titre\tannee\nPower Up\t2020\n44/876\t2018\nI Still Do\t2016\nFire on the Floor\t2016\nThe Last Ship\t2013\nDon't Explain\t2011\nContinuum\t2006\nContinus time\t2005\nSacred Love\t2003\nLeave the Light On\t2003\nBlues Deluxe\t2003\nRiding With The King\t2000\nBad\t1987\nThriller\t1982\nAretha\t1980\nBack in Black\t1980\nOff the Wall\t1979\nExodus\t1977\nBlack and Blue\t1976\nSongs in the Key of Life\t1976\nT.N.T.\t1975\nIt's Only Rock'n Roll\t1974\nLet It Be\t1970\nSigned, Sealed & Delivered\t1970\nSex Machine\t1970\nAbbey Road\t1969\nLady Soul\t1968\nAxis : Bold As Love\t1967\nBlues Breakers\t1966\nAftermath\t1966","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th><th>annee</th></tr></thead><tbody><tr><td>Power Up</td><td>2020</td></tr><tr><td>44/876</td><td>2018</td></tr><tr><td>I Still Do</td><td>2016</td></tr><tr><td>Fire on the Floor</td><td>2016</td></tr><tr><td>The Last Ship</td><td>2013</td></tr><tr><td>Don't Explain</td><td>2011</td></tr><tr><td>Continuum</td><td>2006</td></tr><tr><td>Continus time</td><td>2005</td></tr><tr><td>Sacred Love</td><td>2003</td></tr><tr><td>Leave the Light On</td><td>2003</td></tr><tr><td>Blues Deluxe</td><td>2003</td></tr><tr><td>Riding With The King</td><td>2000</td></tr><tr><td>Bad</td><td>1987</td></tr><tr><td>Thriller</td><td>1982</td></tr><tr><td>Aretha</td><td>1980</td></tr><tr><td>Back in Black</td><td>1980</td></tr><tr><td>Off the Wall</td><td>1979</td></tr><tr><td>Exodus</td><td>1977</td></tr><tr><td>Black and Blue</td><td>1976</td></tr><tr><td>Songs in the Key of Life</td><td>1976</td></tr><tr><td>T.N.T.</td><td>1975</td></tr><tr><td>It's Only Rock'n Roll</td><td>1974</td></tr><tr><td>Let It Be</td><td>1970</td></tr><tr><td>Signed, Sealed & Delivered</td><td>1970</td></tr><tr><td>Sex Machine</td><td>1970</td></tr><tr><td>Abbey Road</td><td>1969</td></tr><tr><td>Lady Soul</td><td>1968</td></tr><tr><td>Axis : Bold As Love</td><td>1967</td></tr><tr><td>Blues Breakers</td><td>1966</td></tr><tr><td>Aftermath</td><td>1966</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 3: Lister les clients par ordre alphabétique. 📀</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT nom, prenom FROM Client\nORDER BY nom ASC;\n","execution_count":6,"outputs":[{"output_type":"execute_result","execution_count":6,"data":{"text/plain":"nom\tprenom\nBernardin\tStéphanie\nDubois\tPhilippe\nDupont\tFlorine\nDupont\tMichel\nDurand\tJulien\nFournier\tMarie\nFournier\tDavid\nLefranc\tFrançoise\nMarchand\tGrégoire\nMichel\tValérie\nMoreau\tAlain\nPacot\tJean\nPetit\tSébastien\nPetit\tMorgane\nRobert\tPascal\nRouger\tLéa\nSimon\tSandrine","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>nom</th><th>prenom</th></tr></thead><tbody><tr><td>Bernardin</td><td>Stéphanie</td></tr><tr><td>Dubois</td><td>Philippe</td></tr><tr><td>Dupont</td><td>Florine</td></tr><tr><td>Dupont</td><td>Michel</td></tr><tr><td>Durand</td><td>Julien</td></tr><tr><td>Fournier</td><td>Marie</td></tr><tr><td>Fournier</td><td>David</td></tr><tr><td>Lefranc</td><td>Françoise</td></tr><tr><td>Marchand</td><td>Grégoire</td></tr><tr><td>Michel</td><td>Valérie</td></tr><tr><td>Moreau</td><td>Alain</td></tr><tr><td>Pacot</td><td>Jean</td></tr><tr><td>Petit</td><td>Sébastien</td></tr><tr><td>Petit</td><td>Morgane</td></tr><tr><td>Robert</td><td>Pascal</td></tr><tr><td>Rouger</td><td>Léa</td></tr><tr><td>Simon</td><td>Sandrine</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 4: Trouver tous les albums sortis après 2000 qui sont disponibles🎶 </h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre, annee FROM Album\nWHERE annee > 2000 AND dispo = 1;\n","execution_count":7,"outputs":[{"output_type":"execute_result","execution_count":7,"data":{"text/plain":"titre\tannee\nI Still Do\t2016\nDon't Explain\t2011\nSacred Love\t2003\nThe Last Ship\t2013\nLeave the Light On\t2003\nBlues Deluxe\t2003","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th><th>annee</th></tr></thead><tbody><tr><td>I Still Do</td><td>2016</td></tr><tr><td>Don't Explain</td><td>2011</td></tr><tr><td>Sacred Love</td><td>2003</td></tr><tr><td>The Last Ship</td><td>2013</td></tr><tr><td>Leave the Light On</td><td>2003</td></tr><tr><td>Blues Deluxe</td><td>2003</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 5: Trouver tous les clients qui ont un email (ce qui signifie que le champ email n'est pas vide, écrire: ... <>\"\") 🎸</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT nom, prenom FROM Client\nWHERE email <> '';\n","execution_count":8,"outputs":[{"output_type":"execute_result","execution_count":8,"data":{"text/plain":"nom\tprenom\nDupont\tFlorine\nDupont\tMichel\nMarchand\tGrégoire\nMichel\tValérie\nPacot\tJean\nDurand\tJulien\nMoreau\tAlain\nDubois\tPhilippe\nRobert\tPascal\nFournier\tMarie\nFournier\tDavid\nLefranc\tFrançoise\nSimon\tSandrine\nPetit\tSébastien\nBernardin\tStéphanie\nPetit\tMorgane","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>nom</th><th>prenom</th></tr></thead><tbody><tr><td>Dupont</td><td>Florine</td></tr><tr><td>Dupont</td><td>Michel</td></tr><tr><td>Marchand</td><td>Grégoire</td></tr><tr><td>Michel</td><td>Valérie</td></tr><tr><td>Pacot</td><td>Jean</td></tr><tr><td>Durand</td><td>Julien</td></tr><tr><td>Moreau</td><td>Alain</td></tr><tr><td>Dubois</td><td>Philippe</td></tr><tr><td>Robert</td><td>Pascal</td></tr><tr><td>Fournier</td><td>Marie</td></tr><tr><td>Fournier</td><td>David</td></tr><tr><td>Lefranc</td><td>Françoise</td></tr><tr><td>Simon</td><td>Sandrine</td></tr><tr><td>Petit</td><td>Sébastien</td></tr><tr><td>Bernardin</td><td>Stéphanie</td></tr><tr><td>Petit</td><td>Morgane</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{"slideshow":{"slide_type":"subslide"}},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 6: Trouver tous les albums contenant \"Rock\" dans leur titre. 🎤</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre FROM Album\nWHERE titre LIKE '%Black%';\n","execution_count":9,"outputs":[{"output_type":"execute_result","execution_count":9,"data":{"text/plain":"titre\nBlack and Blue\nBack in Black","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th></tr></thead><tbody><tr><td>Black and Blue</td></tr><tr><td>Back in Black</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 7: Compter le nombre total d'albums dans la base. 📊</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT COUNT(*) AS nombre_albums FROM Album;\n","execution_count":10,"outputs":[{"output_type":"execute_result","execution_count":10,"data":{"text/plain":"nombre_albums\n30","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>nombre_albums</th></tr></thead><tbody><tr><td>30</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 8: Trouver les albums de 1966 ou 1970. 🎼</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre, annee FROM Album\nWHERE annee = 1966 OR annee = 1970;\n","execution_count":11,"outputs":[{"output_type":"execute_result","execution_count":11,"data":{"text/plain":"titre\tannee\nBlues Breakers\t1966\nAftermath\t1966\nLet It Be\t1970\nSigned, Sealed & Delivered\t1970\nSex Machine\t1970","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th><th>annee</th></tr></thead><tbody><tr><td>Blues Breakers</td><td>1966</td></tr><tr><td>Aftermath</td><td>1966</td></tr><tr><td>Let It Be</td><td>1970</td></tr><tr><td>Signed, Sealed & Delivered</td><td>1970</td></tr><tr><td>Sex Machine</td><td>1970</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 9: Afficher uniquement le titre du plus ancien album (donc juste un titre).</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre, annee FROM Album\nORDER BY annee ASC\nLIMIT 1;\n","execution_count":12,"outputs":[{"output_type":"execute_result","execution_count":12,"data":{"text/plain":"titre\tannee\nBlues Breakers\t1966","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th><th>annee</th></tr></thead><tbody><tr><td>Blues Breakers</td><td>1966</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question 10: Trouver les albums sortis entre 1980 et 2000 qui sont disponibles.</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT titre, annee FROM Album\nWHERE annee BETWEEN 1980 AND 2000\nAND dispo = 1;\n","execution_count":13,"outputs":[{"output_type":"execute_result","execution_count":13,"data":{"text/plain":"titre\tannee\nBad\t1987\nAretha\t1980\nBack in Black\t1980","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>titre</th><th>annee</th></tr></thead><tbody><tr><td>Bad</td><td>1987</td></tr><tr><td>Aretha</td><td>1980</td></tr><tr><td>Back in Black</td><td>1980</td></tr></tbody></table>"},"metadata":{}}]},{"metadata":{},"cell_type":"markdown","source":"<h3 style=\"color:teal;background-color:azure;\" >Question BONUS: Trouver les clients dont le prénom commence par \"J\" et qui ont renseigné une adresse email.</h3>"},{"metadata":{"trusted":true},"cell_type":"code","source":"SELECT nom, prenom, email FROM Client\nWHERE prenom LIKE 'J%'\nAND email <> '';\n","execution_count":14,"outputs":[{"output_type":"execute_result","execution_count":14,"data":{"text/plain":"nom\tprenom\temail\nPacot\tJean\tjpacot@music.com\nDurand\tJulien\tjdurand9@email.fr","text/html":"<table class=\"dataframe\" border=\"1\"><thead><tr style=\"text-align: right;\"><th>nom</th><th>prenom</th><th>email</th></tr></thead><tbody><tr><td>Pacot</td><td>Jean</td><td>jpacot@music.com</td></tr><tr><td>Durand</td><td>Julien</td><td>jdurand9@email.fr</td></tr></tbody></table>"},"metadata":{}}]}],"metadata":{"kernelspec":{"name":"sql","display_name":"SQL","language":"sql"}},"nbformat":4,"nbformat_minor":2}
\ No newline at end of file