title: where to find Drupal 7 DB schema?
body: <p>I have this query in Drupal 6</p>
  
  <pre><code>SELECT term_data.tid AS tid,
     term_data.name AS term_data_name,
     term_data.vid AS term_data_vid,
     term_data.weight AS term_data_weight
   FROM term_data term_data 
   LEFT JOIN term_node term_node ON term_data.tid = term_node.tid
   INNER JOIN node node_term_node ON term_node.vid = node_term_node.vid
  </code></pre>
  
  <p>how can I migrate that one to Drupal 7 schema? I have something like this, but it's not working</p>
  
  <pre><code>SELECT
  taxonomy_term_data.tid,
  taxonomy_term_data.vid,
  taxonomy_term_data.name
  FROM
  taxonomy_term_data
  LEFT JOIN taxonomy_index ON taxonomy_term_data.tid = taxonomy_index.tid
  Inner Join node ON taxonomy_index.vid = node.vid
  </code></pre>
  
  <p>The problem is that taxonomy_index.vid doesn't exist.</p>
  
  <p>I haven't found drupal 7 database schema documentation, any idea? please
  Thanks </p>