"select name , phone, sum(cash) from hometbl group by name,phone" how to avoid group by ???
No way in SQL: you have to use GROUP BY...
Forum Rules