Advertisement
Guest User

Untitled

a guest
Jan 11th, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.46 KB | None | 0 0
  1. SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  WHERE 1=1  AND wp_posts.ID = 26 AND ( wp_posts.ID NOT IN (
  2.                     SELECT object_id
  3.                     FROM wp_term_relationships
  4.                     WHERE term_taxonomy_id IN (94)
  5.                 ) ) AND wp_posts.post_type = 'page' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'expired' OR wp_posts.post_status = 'pending_payment' OR wp_posts.post_status = 'private') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement