最佳答案
在Visual Studio 2010的SQL Server精简版中(可能是SQL Server和SQL一般,我不知道),这个命令是有效的:
DELETE FROM foods WHERE (name IN ('chickens', 'rabbits'))
但是这个命令会产生一个错误:Error near identifier f. Expecting OUTPUT.
DELETE FROM foods f WHERE (f.name IN ('chickens', 'rabbits'))