Código sql:
Ver originalSELECT SUM(cli_num)AS 'Total_Clientes',CAST(YEAR(cli_fec)AS VARCHAR)+' '+DateName(MONTH,Cli_fec)+' '+CAST(DAY(cli_fec)AS VARCHAR)AS 'Fecha',cli_fec FROM cliente GROUP BY CAST(YEAR(cli_fec)AS VARCHAR)+' '+DateName(MONTH,Cli_fec)+' '+CAST(DAY(cli_fec)AS VARCHAR),cli_fec ORDER BY
cli_fec DESC