站內搜尋

Wednesday, February 13, 2013

[MYSQL] 自訂別名 "AS"


可針對資料表或欄位自訂別名

SELECT phone AS ph FROM mytable AS mt

註:AS可以省略,只要別名緊接在資料表或欄位名稱後即可

No comments:

Post a Comment