Mysql
 sql >> Base de Dados >  >> RDS >> Mysql

Mysql delete com subconsulta

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

Este cheat vai enganar o analisador mysql