Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete from IN subquery

DELETE e.*
FROM tableE e
WHERE id IN (SELECT id
             FROM (SELECT id
                   FROM tableE
                   WHERE arg = 1 AND foo = 'bar') x);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #IN #subquery
ADD COMMENT
Topic
Name
3+5 =