Created
February 14, 2017 08:50
-
-
Save Hotfirenet/8933061a89f235415f577a7214462eef to your computer and use it in GitHub Desktop.
Requete SQL pour prestashop qui permet de supprimer tous les paniers d'un client.
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
SET @idCustomer = 13377; | |
DELETE CP, P | |
FROM ps_cart_product CP | |
INNER JOIN ps_cart C ON C.id_cart = CP.id_cart | |
WHERE C.id_customer = @idCustomer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment