SELECT Matiere
SELECT Matiere
CASE
ELSE note
END AS coef
FROM tp_examens;
SELECT id_etudiant,
CASE
ELSE 'Excellent'
END AS Resultat,
AVG(note) AS Moyenne
FROM tp_examens
GROUP BY id_etudiant;
SELECT id_etudiant,
CASE
END AS Cursus
FROM tp_examens
GROUP BY id_etudiant;
SELECT tp_examens.matiere,
tp_examens.note,
tp_etudiants.prenom,
tp_etudiants.nom
FROM tp_examens
ON tp_examens.id_etudiant = tp_etudiants.id_etudiant;