Commit c653d305 authored by Antoine Kryus's avatar Antoine Kryus
Browse files

add role et cat billet pour que ça fonctionne

parent 70cf9ed0
......@@ -13,7 +13,8 @@ SELECT * FROM Spectacle;
SELECT auteur, anneedeparution AS Année FROM Spectacle WHERE type='PieceDeTheatre' AND typetheatre='Comedie' ORDER BY anneedeparution DESC;
SELECT idbillet, nom, prenom, categoriebillet, nom AS nom_catégorie FROM Billet B JOIN MembreDeLUniversite M ON B.acheteurUniversite = M.numeroCIN JOIN CategorieBillet C ON B.categoriebillet = C.idcategorie WHERE C.nom='etudiant';
SELECT idbillet, M.nom, prenom, C.nom AS ctaégorie_billet FROM Billet B JOIN MembreDeLUniversite M ON B.acheteurUniversite = M.numeroCIN JOIN CategorieBillet C ON B.categoriebillet = C.idcategorie WHERE C.idcategorie=5;
DELETE FROM Inscription WHERE numeroCIN = 12 AND association = 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment