Using column aliases in `.where()`
This is a supported feature in MySQL, but having issues here:
https://kyse.link/?p=s&i=xxyMrfnfJ6CjbRlQZpMA
Do I need to do something special for it to recognize the alias?
Solution:Jump to solution
Hey 👋
Are you sure this is supported in MySQL?
https://dev.mysql.com/doc/refman/8.0/en/problems-with-alias.html...
3 Replies
Solution
Hey 👋
Are you sure this is supported in MySQL?
https://dev.mysql.com/doc/refman/8.0/en/problems-with-alias.html
i may have seen the
You can use the alias in GROUP BY, ORDER BY, or HAVING clauses to refer to the column
part of that page and jumped the gun
woops, sorryno worries