title: ORMLite set an alias for column instead of table
body: <p>How can I add an alias <em>(AS)</em> when selecting columns? I want to achieve something like:</p>
  
  <pre><code>SELECT `foo` AS `bar` FROM `xyz` WHERE `abc` = '123' ORDER BY `bar`
  </code></pre>
  
  <p>I've tried using <strong>setAlias</strong> method right after my <strong>selectColumns</strong> but it sets the alias to the table, which I think is intended since it was mentioned in the <a href="http://ormlite.com/javadoc/ormlite-core/com/j256/ormlite/stmt/QueryBuilder.html#setAlias(java.lang.String)" rel="nofollow noreferrer" title="docs">docs</a>.</p>