MYSQL的delete語句不支持別名!要使用別名需要在delete後也使用別名
如:
delete from test t where t.id in (1,2);(執行失敗)
select t.* from test t where t.id in (1,2);(執行成功)
MYSQL的delete語句不支持別名!要使用別名需要在delete後也使用別名
如:
delete from test t where t.id in (1,2);(執行失敗)
select t.* from test t where t.id in (1,2);(執行成功)