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 (19569, 19570, 19571, 19572, 19785, 20271, 21021, 21254, 21280, 21432) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`