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 (21560, 21590, 21592, 21819, 21837, 24633, 24634, 25751, 25796, 26587) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`