title: How to separate between data selecting from multiple tables?
body: <p>I want to search in 16 different tables, but I don't wanna repeat the "select from DB" 16 times; I think that's not really help in performance!!!</p>
  
  <p>I am using:</p>
  
  <pre><code>query="SELECT * FROM table1, table2,..., table16 WHERE id=?";
  </code></pre>
  
  <p>Is it correct ??
  my problem is how to separate between data of tables ??</p>
  
  <p>also maybe I can get from one table two  or more results for one "id"; So I want to know which data is from which table !!
  .
  Best regards,</p>