Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ORA-00907尝试解析此语句时出现错误。关于我做错了什么的任何想法?
ORA-00907
提前致谢!
DELETE FROM teams WHERE is_old=0 AND tm_counter NOT IN (SELECT MIN(dup.tm_counter) FROM teams AS dup GROUP BY dup.name, dup.squad, dup.region);
在 Oracle 中,您不能AS在表别名之前使用,只能在列别名之前使用。所以,改变这部分:
AS
FROM teams AS dup
对此:
FROM teams dup