SELECT count(case when `status`=5 then 1 else null end) as countOk,count(case when `status`=8 then 1 else null end) as countNo FROM mtl_order where store_id = 92