Cita:
Iniciado por nightduke
Me da error
#1064 - 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 ''20052010' WHERE id IN(1,3,5,7,9)
LIMIT 0, 30' at line 1
Si quiero sacar los ids que son 1, 3 5 7 9
Gracias
Te da error porque puse entre comillas el nombre de la tabla.
Prueba así: SELECT * FROM 20052010 WHERE id IN(1,3,5,7,9);
Venga, un saludo y suerte,