mysql sql delete別名問題

MYSQL的delete語句不支持別名!要使用別名需要在delete後也使用別名

如:

     delete from test t where t.id in (1,2);(執行失敗)

    

     select t.* from test t where t.id in (1,2);(執行成功)


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章