
01/02/2012, 03:40
|
 | | | Fecha de Ingreso: septiembre-2005
Mensajes: 195
Antigüedad: 19 años, 5 meses Puntos: 3 | |
Respuesta: Consulta 2 tablas distintas mysql Es que si pongo esto:
SELECT votos FROM SELECT votos FROM album_1 UNION ALL SELECT votos FROM album_2 ORDER BY votos DESC LIMIT 3
me da este 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 'SELECT votos FROM album_1 UNION ALL SELECT votos FROM album_2 ORDER BY votos ' at line 1
__________________ Ser libre no es hacer lo ke uno kiere, sino kerer lo ke uno hace.... |