Ver Mensaje Individual
  #3  
Antiguo 14-07-2008
Avatar de tcp_ip_es
tcp_ip_es tcp_ip_es is offline
No confirmado
 
Registrado: ago 2003
Ubicación: Madrid
Posts: 635
Reputación: 0
tcp_ip_es Va por buen camino
Código SQL [-]
select telefono 
from telefonos inner join 
(
select telefono 
from rango 
where telefono between  desde and hasta
) as t2 on telefonos.telefono = t2.telefono

No se si te he entendido bien...si indicaras mejor los campos que contienen las dos tablas.... a lo mejor te podríamos indicar mejor
Responder Con Cita