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 (24630, 24632, 24746, 25226, 25227, 25395, 27105, 27900, 27901, 28190) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`