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 (7423, 7434, 7435, 7443, 7530, 7537, 7538, 7556, 7580, 7581) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`