Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/03/2011, 05:35
ceroseiscerocinco
 
Fecha de Ingreso: marzo-2011
Mensajes: 5
Antigüedad: 13 años, 1 mes
Puntos: 0
Respuesta: Phpmyadmin ejecutar esta consulta

El error es el siguiente:

Código HTML:
consulta SQL: Documentación

SELECT DISTINCT *
FROM suscripciones
WHERE ID_LISTA
IN (

SELECT ID_LISTA
FROM boletines
WHERE ID_ENVIADO =244
)
LIMIT 0 , 30

MySQL ha dicho: Documentación
#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 ID_LISTA FROM boletines WHERE ID_ENVIADO = 244 )
LIMIT

Pero al ejecutar las dos consultas por separado no me da ningun error.

No se como unirlas.