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 (16070, 18830, 18998, 18999, 21550, 21910, 23692, 25491, 27773) and IFNULL(cp.qty,0) group by `cp`.`supplierpricesID`