Tu resultado:
Código MySQL:
Ver original+----------------+-----------------+-------+
| fecha | recomendaciones | leads |
+----------------+-----------------+-------+
| 20100101000000 | 1 | 0 |
| 20100103000000 | 1 | 0 |
| 20100105000000 | 2 | 0 |
| 20100107000000 | 1 | 1 |
| 20100109000000 | 1 | 0 |
| 20100111000000 | 1 | 0 |
| 20100212000000 | 1 | 0 |
| 20100212000000 | 8 | 0 |
+----------------+-----------------+-------+
Mi resultado:
Código MySQL:
Ver original+----------------+-----------------+-------+
| FECHA | recomendaciones | leads |
+----------------+-----------------+-------+
| 20100101000000 | 1 | 0 |
| 20100103000000 | 1 | 0 |
| 20100105000000 | 2 | 1 |
| 20100107000000 | 1 | 0 |
| 20100109000000 | 1 | 0 |
| 20100111000000 | 1 | 0 |
| 20100212000000 | 1 | 0 |
| Totales | 8 | 1 |
+----------------+-----------------+-------+
¿Alguna duda?