Page 1 of 1

possible with one query?

Posted: Fri Nov 12, 2010 8:57 am
by pedroz
Is this possible to do it with one query?

I have the following table

table_posts
id : post-status : post-type : post-type : post-parent
50 : publish : post : null : null
51 : null : null : revision : 50
52 : null : null : revision : 50
53 : publish : page : null : null
54 : null : null : revision : 53

how can i delete records 51 and 52 ?

Re: possible with one query?

Posted: Fri Nov 12, 2010 11:16 am
by mikosiko
:?: :?: :?:

Code: Select all

AND id IN (51, 52)