SELECT `wp3_posts` . * FROM `wp3_posts` WHERE ? = ? AND `wp3_posts` . `post_parent` = ? AND `wp3_posts` . `post_type` = ? AND ( ( `wp3_posts` . `post_status` = ? ) ) ORDER BY `wp3_posts` . `post_date` DESC , `wp3_posts` . `ID` DESC 