Related posts
SELECT DISTINCT t.term_id, tr.object_id
FROM tbl_terms AS t INNER JOIN tbl_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN tbl_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('category', 'post_tag', 'post_format') AND tr.object_id IN (16843, 16244, 16195, 16185, 16173, 16150)
ORDER BY t.name ASC
ids=[] json=[] cat=[{"term_id":117,"name":"General Videos","slug":"general-videos","term_group":0,"term_taxonomy_id":117,"taxonomy":"category","description":"","parent":0,"count":25,"filter":"raw","cat_ID":117,"category_count":25,"category_description":"","cat_name":"General Videos","category_nicename":"general-videos","category_parent":0}] cat=[{"term_id":117,"name":"General Videos","slug":"general-videos","term_group":0,"term_taxonomy_id":117,"taxonomy":"category","description":"","parent":0,"count":25,"filter":"raw","cat_ID":117,"category_count":25,"category_description":"","cat_name":"General Videos","category_nicename":"general-videos","category_parent":0}]