天天看點

single-row subquery returns more than one row

錯誤描述:single-row subquery returns more than one row

原因: 子查詢可能查到兩個或以上的相同資料

解決方案:加一個distinct,效果:去重

(僅自己開發時遇到的問題,記錄)