For the following query:
select codcli, lat, lng, sum(qta*prz_ces) from <table> group by codcli, lat, lng
raises the error in object, where lat and lng are double.
What is the best practice to manage this case?
Do I have to change lat and long into a different data type?
Anyone got this simple query type, grouping by coordinates, working ?