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 (8167, 8197, 8200, 8201, 8205, 10780, 11475, 14448, 17982, 23662) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`