Jump to content

How do you Join?


Perad

Recommended Posts

Table 'term_taxonomy'

term_taxonomy_id|term_id|taxonomy|description|parent|count

 

Table 'terms'

term_id|name|slug|term_group

 

What I need to do is this..

 

SELECT term_taxonomy_id FROM term_taxonomy WHERE taxonomy='category' 

 

I then need to reference term_taxonomy_id with term_id to get the name.

 

How do I do this in a single query?

Link to comment
https://forums.phpfreaks.com/topic/168770-how-do-you-join/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.