SELECT j.id_juego, j.id_plataforma, g.id_genero, g.nombre_esp AS txt_genero, j.fecha_lanzamiento, j.tipo_fecha_lanzamiento FROM jg_main AS j, popularidad_lectura AS r, t_cat_generos AS g WHERE j.fecha_pub<=CURRENT_DATE AND j.publicar='si' AND j.id_portal=1 AND j.id_juego!=1438 AND j.id_juego!=1190 AND j.fecha_lanzamiento>=DATE_SUB(NOW(), INTERVAL 12 MONTH) AND r.id_juego=j.id_juego AND j.id_genero=g.id_genero ORDER BY r.popularidad DESC LIMIT -139 |
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-139' at line 1 |
Error Nš 1064 |