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 ?