title: How to do foreach select in single SQL query
body: <p>I have a problem, i try to do a foreach to select multi row and do a select in a each one.</p>
  
  <p>This is my table :</p>
  
  <pre><code>| TRANSLATION_ID    | TABLE_NAME                | COLUMN_NAME   | ID_COLUMN     | CODELANGUE_COLUMN     |
  |----------------   |-------------------------  |-------------  |-----------    |-------------------    |
  | 1                 | CHAMPS_LANGUE             | VALUE1        | ZZZ           | CODELANGUE            |
  | 2                 | DELAIS_LIBELLES           | VALUE2        | YYY           | CODELANGUE            |
  | 3                 | MODELES_ENQUETES_LIGNES   | VALUE3        | XXX           | CODELANGUE            |
  | ...               | ...                       | ...           | ...           |                       |
  </code></pre>
  
  <p>And I would like to do multiple <code>SELECT</code> on every <code>TABLE</code> like <code>CHAMPS_LANGUE , DELAIS_LIBELLES</code> etc.. </p>
  
  <pre><code>FOREACH TABLE_NAME
   SELECT COLUM_NAME, ID_COLUM FROM TABLE_NAME WHERE CODELANGUE = 1
  </code></pre>
  
  <p>Let me know if a not very explicit. :)</p>