Mysql: DELETE with IN subquery -


Remove

  from images where in image_id (i.image_id select i.ad_id from i.image_id images) On) = A.id WHERE ISNULL (a.id)))   

I would have to complete this query to thank any kind of gratitude. Thank you;)

Remove from images ad add i.ad_id = a .id WHERE ISNULL (a.id)

Comments