ewkilian Posted May 4, 2017 Share Posted May 4, 2017 Bonjour, Je suis à la recherche de 2 requetes SQL : - Nombre total des produits en ventes (actifs) dans la boutique - Total (SUM) du stock total Auriez-vous une piste concernant ces 2 reuqetes ? Merci beaucoup EwKilian Link to comment Share on other sites More sharing options...
ewkilian Posted May 4, 2017 Author Share Posted May 4, 2017 Au sujet du stock, pourriez vous m'expliquer la différence SELECT sum(`quantity`) FROM `ps_stock_available` WHERE 1 -> 8161SELECT sum(`quantity`) FROM `ps_product` WHERE 1 -> 7759 MErci bien Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now