DELETE FROM product_pictures
WHERE picture = (SELECT picture FROM (SELECT picture FROM product_pictures WHERE id = ?) x)
Este truco engañará al analizador mysql
DELETE FROM product_pictures
WHERE picture = (SELECT picture FROM (SELECT picture FROM product_pictures WHERE id = ?) x)
Este truco engañará al analizador mysql