I have a query that gives me results of type string, that data is converted to an integer type (I clarify that I can also convert it to float) and then I want it to give me the averaged result about it.
I hope and you can help me.
this is the Query
select cedis,
convert(int, (count(clientes_con_rechazo))) Totales
from tmpcalculo
group by cedis
This is the result that currently throws me
cedis Totales
Celaya 1437
Example of how I would throw it.
cedis Totales
Celaya 10.45