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' FROM cliente GROUP BY CAST(YEAR(cli_fec)AS VARCHAR)+' '+DateName(MONTH,Cli_fec)+' '+CAST(DAY(cli_fec)AS VARCHAR)ORDER BY
DAY(cli_fec),MONTH(cli_fec),YEAR(cli_fec)