title: an example of multiple column aliasing in idiorm
body: <p>Using IDIORM and joining several tables - I dealt with one ambiguous column and the method meant that I need to select columns by name - this led to more ambiguous columns when I joined a third table. The method does not seem to chain for the alias I was using.</p>
  
  <p>Is there anything beyond the documentation @readthedocs that could give examples of aliasing in idiorm over joining several tables? or several aliases in one query using idiorm</p>
  
  <p>Help would be appreciated</p>
  
  <p><a href="http://idiorm.readthedocs.org/en/latest/" rel="nofollow">http://idiorm.readthedocs.org/en/latest/</a>
  I also found has_many_through() on this link but am a little lost - <a href="https://github.com/j4mie/idiorm/pull/66" rel="nofollow">https://github.com/j4mie/idiorm/pull/66</a></p>
  
  <p>IDIORM</p>
  
  <pre><code>&lt;?php     
      ...
      -&gt;select_many(array('report_id' =&gt; REPORT_TABLE.'.id'),
                         ('address' =&gt; REPORT_TABLE.'.venue'),
                         ('event_date' =&gt; REPORT_TABLE.'.course_date'),
                    'name',
                    'username')
      ...
  </code></pre>