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 (7764, 13852, 14732, 19573, 21108, 23917, 25404, 27082, 27321, 27774) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`