SQL: SELECT distinct t.name FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id JOIN wp_posts p ON tr.object_id=p.id AND p.post_status='publish' WHERE `tt`.taxonomy='category'

Access denied for user ''@'localhost' (using password: NO)

Where We Are

VN:F [1.9.22_1171]
Rating: 3.9/10 (41 votes cast)
VN:F [1.9.22_1171]
Rating: +1 (from 21 votes)
Where We Are, 3.9 out of 10 based on 41 ratings