Guest User

Untitled

a guest
Jan 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. SELECT ID
  2. , post_date_gmt
  3. , post_content
  4. , post_title
  5. , post_modified_gmt
  6. FROM wphj_posts
  7. WHERE post_status = 'publish'
  8.  
  9. SELECT DISTINCT meta_value
  10. , post_id
  11. , meta_id
  12. FROM wphj_postmeta
  13. WHERE meta_key LIKE '_wp_attached_file'
  14. ORDER
  15. BY meta_value ASC
  16.  
  17. SELECT ID,post_date_gmt, post_content, post_title, post_modified_gmt, meta_value FROM wphj_posts,wphj_postmeta WHERE post_status='publish' AND meta_key LIKE '_wp_attached_file'
Add Comment
Please, Sign In to add comment