select join where執行順序

      select  xxxxx   from t1  join  t2  on t1.sss = t2.dddd where t1.mmm > 3;blog   先執行 t1 join t2  在執行 where 條件  最後在執行 select xxxxit   若是此時select xxx的字段是你從新命名的別名 , 那麼按照上面順序,回報錯,報錯說這個別名在class t1  t2裏
相關文章
相關標籤/搜索