• timour@mysql.com's avatar
    WL#1972 "Evaluate HAVING before SELECT select-list" · 09f1c709
    timour@mysql.com authored
    - Changed name resolution for GROUP BY so that derived columns do not shadow table columns
      from the FROM clause. As a result GROUP BY now is handled as a true ANSI extentsion.
    - Issue a warning when HAVING is resolved into ambiguous columns, and prefer the columns from
      the GROUP BY clause over SELECT columns.
    09f1c709
sql_help.cc 21.6 KB