sql >> Base de Datos >  >> RDS >> Mysql

Eliminar mysql con subconsulta

DELETE FROM product_pictures 
WHERE picture = (SELECT picture FROM (SELECT picture FROM product_pictures WHERE id = ?) x)

Este truco engañará al analizador mysql