You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
336 B

-- Query 28
SELECT
consommation.numcons AS 'numéro',
consommation.libcons AS 'libellé consommation'
FROM consommation
WHERE NOT EXISTS (
SELECT comprend.numcons
FROM comprend
WHERE comprend.numcons = consommation.numcons
);
/* == RESULT ==
"Numéro","Libellé Consommation"
150,"Jus de tomate"
300,"Cocktail"
*/