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

例如 :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 + ")");
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章