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 (3312, 5616, 6955, 7328, 7593, 7594, 7600, 7644, 7653, 7691) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`