Result consisted of more than one rowselect `cp`.*, WebPriceSup(`supplierpricesid`, 0) as `Price` from `v_supplierprices` as `cp` left join `catalogcode` as `cc` on `cc`.`CatalogCode` = `cp`.`CatalogCode` where `cc`.`GoodsID` in (23589, 23632, 23723, 25223, 25228, 25229, 25232, 25233, 25235, 25236) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`