title: Select two or multiple tables from different databases
body: <p>how to use two tables in a single query, which are in different databases, means,</p>
  
  <pre><code>SELECT table1.id, table1.name, table2.id, table2.telephone
  FROM table1, table2   
  WHERE table1.id = table2.id
  </code></pre>
  
  <p>here, <code>table1</code> and <code>table2</code> are in separate database.</p>