title: Ambiguous column name error ONLY ON ONE DB with compatibility level 90
body: <p>I have issue to work on.</p>
  
  <p>Query is like -</p>
  
  <pre><code>SELECT t.column1, t.column2
  FROM table1 t 
  inner join table2 t2 on &lt;join condition&gt;
  GROUP BY column1, column2.
  </code></pre>
  
  <p>column1 and column2 are present in table1 as well as table2.</p>
  
  <p>Alias is used in select query but NOT USED in group by clause <code>t.column1</code>, <code>t.column2</code>.</p>
  
  <p>This code fails only for one database and works fine on other databases.</p>
  
  <p>I tried changing its <code>COMPATIBILITY_LEVEL to 90</code>. but it didn't work.</p>
  
  <p>My question is <strong>why it is not working on one particular db</strong> and works fine on others?</p>