@omoloc ah, vale.
En los periodos que propones,
MariaDB [mnm]> select max(a.votes_tot) from infoportada a where a.date_pub > '2011-01-01' and a.date_pub < '2011-12-31' ;
+------------------+
| max(a.votes_tot) |
+------------------+
| 9207 |
+------------------+
1 row in set (0,045 sec)
MariaDB [mnm]> select max(a.votes_tot) from infoportada a where a.date_pub > '2024-01-01' and a.date_pub < '2025-03-31' ;
+------------------+
| max(a.votes_tot) |
+------------------+
| 1684 |
+------------------+
La noticia que más votos tiene en meneame es esta:
MariaDB [mnm]> select max(a.votes_tot), a.user, b.title, a.date_pub from infoportada a , portada_contenido b where a.id =
b.id ;
+------------------+------+---------------------------+------------+
| max(a.votes_tot) | user | title | date_pub |
+------------------+------+---------------------------+------------+
| 11559 | maty | ¡Muera la Constitución! | 2005-12-10 |
+------------------+------+---------------------------+------------+
En los periodos que propones,
MariaDB [mnm]> select max(a.votes_tot) from infoportada a where a.date_pub > '2011-01-01' and a.date_pub < '2011-12-31' ;
+------------------+
| max(a.votes_tot) |
+------------------+
| 9207 |
+------------------+
1 row in set (0,045 sec)
MariaDB [mnm]> select max(a.votes_tot) from infoportada a where a.date_pub > '2024-01-01' and a.date_pub < '2025-03-31' ;
+------------------+
| max(a.votes_tot) |
+------------------+
| 1684 |
+------------------+
La noticia que más votos tiene en meneame es esta:
MariaDB [mnm]> select max(a.votes_tot), a.user, b.title, a.date_pub from infoportada a , portada_contenido b where a.id =
b.id ;
+------------------+------+---------------------------+------------+
| max(a.votes_tot) | user | title | date_pub |
+------------------+------+---------------------------+------------+
| 11559 | maty | ¡Muera la Constitución! | 2005-12-10 |
+------------------+------+---------------------------+------------+


La cifra que yo creo que es más relevante es cuántos votos tiene la noticia que más votos tiene (que antes eran miles y ahora centenas)