Guest User

Untitled

a guest
Apr 24th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. SELECT COUNT(*) FROM (
  2. SELECT author_id, author_email, author_meta_type, author_meta_vchar_idx, author_modified_on
  3. FROM mt_author as t1
  4. LEFT OUTER JOIN mt_author_meta as t2
  5. ON (t1.author_id = t2.author_meta_author_id AND t2.author_meta_type='field.ars_opt_in')
  6. UNION ALL
  7.  
  8. SELECT author_id, author_email, author_meta_type, author_meta_vchar_idx, author_modified_on
  9. FROM mt_author as t1
  10. LEFT OUTER JOIN mt_author_meta as t2
  11. ON (t1.author_id = t2.author_meta_author_id AND t2.author_meta_type='field.partner_opt_in')
  12.  
  13. ORDER by author_id Limit 0,8)
Add Comment
Please, Sign In to add comment