Skip to content

Instantly share code, notes, and snippets.

@hdknr
Created October 18, 2009 19:52
Show Gist options
  • Save hdknr/212811 to your computer and use it in GitHub Desktop.
Save hdknr/212811 to your computer and use it in GitHub Desktop.
SELECT t.*, tt.* FROM wp_terms AS t
INNER JOIN wp_term_taxonomy AS tt
ON t.term_id = tt.term_id
WHERE tt.taxonomy = 'post_tag' AND t.slug = 'thrudb' LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment