I want to export and export only the Categories and their description using SQL. For now I've managed to retrieve them using this:
SELECT wp_term_taxonomy.description, wp_terms.term_id, wp_terms.name, wp_terms.slug FROM wp_term_taxonomy JOIN wp_terms ON ( wp_term_taxonomy.term_id = wp_terms.term_id ) WHERE wp_term_taxonomy.taxonomy = 'category'
I need some advices on how do to this so I can not screw up the blog. I mention that on the new blog I do not have these categories.