天天看点

single-row subquery returns more than one row

错误描述:single-row subquery returns more than one row

原因: 子查询可能查到两个或以上的相同数据

解决方案:加一个distinct,效果:去重

(仅自己开发时遇到的问题,记录)