Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 282965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:20:00+00:00 2026-05-12T05:20:00+00:00

I need to know the type of the tid in the term_data table. For

  • 0

I need to know the type of the tid in the term_data table. For example, I want to know if this tid is a type of the ed-classifieds module?

This is my query right now that is not 100% correct

# get all the parent categories for the ed classifieds
SELECT th.tid, td.name, n.type
FROM term_hierarchy th 
LEFT JOIN term_data td ON th.tid = td.tid 
LEFT JOIN term_node tn ON tn.tid = td.tid 
LEFT JOIN node n ON n.nid = tn.nid
WHERE th.parent = '0' 
#AND n.type = 'ed_classified' 
GROUP BY th.tid

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:20:01+00:00Added an answer on May 12, 2026 at 5:20 am

    There might be a bit of confusion here. Terms themselves are just free-floating entities, like free tags or categories. They can be grouped into ‘vocabularies’ — the vocabulary id is stored in the ‘vid’ column of the term_data table.

    The ‘node type’ you’re pulling up in that query is the content type of the node that is tagged with the taxonomy term. That type isn’t inherent to the term itself — a given term can be used to tag many different types of content at the same time. A term can only belong to a single vocabulary, though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need to know this so that i could send DTMF and that is going
I need to know how this type of dynamic connections is called between the
I need to know how many objects of some type exist in my system
I need to use method like: DoSomething<(T)>(); But i don't know which Type i
As far as I know, PHP is a dynamic type language. We don't need
I need to know whether automatic table creation is possible using PostgreSQL instead of
I need to know if all rows from one table exists in other: declare
I need to optimize a query for a ranking that is taking forever (the
I have a base class that I want to look like this: class B
In my WCF solution, the server doesn't need to know the data type. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.