Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Sep 20th, 2012  |  syntax: None  |  size: 0.54 KB  |  views: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
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