Commit 9740c062 authored by Antoine Kryus's avatar Antoine Kryus
Browse files

feat API 4e requete

parent 070ee70a
SELECT auteur, anneedeparution AS Année FROM Spectacle WHERE type='PieceDeTheatre' AND typetheatre='Comedie' ORDER BY anneedeparution DESC;
SELECT idbillet, nom, prenom, categoriebillet FROM Billet B JOIN MembreDeLUniversite M ON B.acheteurUniversite = M.numeroCIN JOIN CategorieBillet C ON B.categoriebillet = C.idcategorie WHERE C.idcategorie=7;
SELECT idbillet, nom, prenom, categoriebillet FROM Billet B JOIN MembreDeLUniversite M ON B.acheteurUniversite = M.numeroCIN JOIN CategorieBillet C ON B.categoriebillet = C.idcategorie WHERE C.idcategorie=7; --et là faut rajouter le nom de la catégorie
DELETE FROM Inscription WHERE numeroCIN = 12 AND association = 2;
SELECT statut, nom, prenom, auteur FROM MembreDeLuniversite M JOIN Role R ON M.numeroCIN = R.numeroCIN JOIN Spectacle S ON R.idspectacle = S.idspectacle WHERE S.type='PieceDeTheatre'; -- et là faut rajouter R.desc
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