Table : taxonomy_term_data
tid   name
7     desert
10    indian
Table : taxonomy_index
nid   tid
13     7
10     7
10     10
12     7
14     10
I need a mysql query to get the nid which has "desert" and also "Indian". Here the output is nid = 10. can someone help in writing query. I'm just a beginner
 
     
     
     
    