Question access

Fermé
MrRichard - 27 juil. 2018 à 21:02
yg_be Messages postés 22763 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 6 mai 2024 - 28 juil. 2018 à 09:17
Bonjour,
Comment afficher des articles dont le prix est supérieur à la moyenne?


1 réponse

jordane45 Messages postés 38162 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 6 mai 2024 4 658
28 juil. 2018 à 00:42
0
yg_be Messages postés 22763 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 6 mai 2024 1 480
Modifié le 28 juil. 2018 à 09:18
bonjour, sans doute plutôt:
SELECT * FROM Products
WHERE Price > (SELECT Avg(Price) FROM Products);

https://www.w3schools.com/sql/func_msaccess_avg.asp
0