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 (3228, 12527, 12528, 13478, 13659, 14412, 14478, 14479, 14480, 14481) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`