sql语句报错:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
子查询返回超过1的值。当子查询跟随=时,这是不允许的!=,<,<=,>,> =,或当子查询用作表达式时。
解决:
子查询结果 不是一条是多条结果的时候不能用做关系判断。
可以在子查询里top 1来排除看看 是哪一条子查询的问题。
欢迎分享,(联系QQ/微信:282625252)