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 (9190, 9193, 9195, 9199, 9201, 9242, 15903, 18871, 19027, 19091) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`