This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Sep 20th, 2012  |  syntax: None  |  size: 0.54 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [request] => SELECT wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta AS cpt_onomy_pm1 ON (wp_posts.ID = cpt_onomy_pm1.post_id AND cpt_onomy_pm1.meta_key = '_custom_post_type_onomies_relationship') WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (34) ) AND wp_posts.post_type = 'linha' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') AND ( cpt_onomy_pm1.meta_value IN (708) ) GROUP BY wp_posts.ID ORDER BY wp_posts.post_title ASC
clone this paste RAW Paste Data