delete from info join user where info.userid user.id在sql2000内执行的时候提示在关键词join附近语法错误.执行一楼代码,提示where附近语法错误

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/12 12:26:05
deletefrominfojoinuserwhereinfo.useriduser.id在sql2000内执行的时候提示在关键词join附近语法错误.执行一楼代码,提示where附近语法错误dele

delete from info join user where info.userid user.id在sql2000内执行的时候提示在关键词join附近语法错误.执行一楼代码,提示where附近语法错误
delete from info join user where info.userid user.id
在sql2000内执行的时候提示
在关键词join附近语法错误.
执行一楼代码,提示where附近语法错误

delete from info join user where info.userid user.id在sql2000内执行的时候提示在关键词join附近语法错误.执行一楼代码,提示where附近语法错误
没看懂楼主的意思!
是想这样吗?
DELETE FROM info WHERE userid not in (SELECT id FROM user)