Source: https://munier.perso.univ-pau.fr/temp/R207/sql-tp3.pdf