When I execute a query including arithmetic operations in the SELECT statement like:
SELECT a*5 FROM table; 
When a*5 will be executed in terms of the order of the query execution? I mean, is it before the ORDER BY, HAVING, and GROUP BY clauses? Or after or before all these?
Thanks in advance for your help.
 
    