エラーが発生しました。select shop_id,id,price,stocks,set_name from sell_list where substr(type,3) in(51) and substr(type,1,1)='P' and state in('0') order by price desc;