Last active
April 12, 2017 12:10
-
-
Save Hotfirenet/e7099d312471a2f4576d9f52fcfe8fb5 to your computer and use it in GitHub Desktop.
Liste les références actives d'un catalogue prestashop qui ont un message disponible maintenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT reference FROM ps_product P | |
INNER JOIN ps_product_lang PL ON PL.id_product = P.id_product | |
WHERE P.active = 1 AND (PL.available_now IS NOT NULL AND PL.available_now <> '') | |
GROUP BY reference |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment