sql語句的執行順序和別名問題

sql語句的別名問題: where後不能用字段的別名由於web 1、sql執行順序 (1)from (3)join (2)on (4)where (5)group by(使用select中的別名) (6)avg,sum…. (7)having (8)select (9)distinct (10)order bysql 一、在MySQL中: (1)group by中能夠使用字段別名; (2)wher
相關文章
相關標籤/搜索