title: SQL Error: 904, SQLState: 42000 ORA-00904: : invalid identifier
body: <p>Can below scenario of duplicate alias lead to an error when executed from JDBC or hibernate:</p>
  
  <blockquote>
    <p>SQL Error: 904, SQLState: 42000 ORA-00904: : invalid identifier</p>
  </blockquote>
  
  <pre><code>select * From table_master VW
  LEFT OUTER JOIN TABLE(test_func(1, 300)) vw 
  ON VW.table_key = vw.function_key
  </code></pre>
  
  <p>Facing this in production only. It works fine in test environment.</p>