1. 程式人生 > >Subquery returns more than 1 row查詢結果多於一行

Subquery returns more than 1 row查詢結果多於一行

size turn article family ims con -c otto color

例如 :WHERE(" use_id =(select user_id from store_staff where store_id="+ store_id + ")"); 改為 WHERE(" use_id =any(select user_id from store_staff where store_id="+ store_id + ")");

Subquery returns more than 1 row查詢結果多於一行