Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/02/2008, 05:18
drbit
 
Fecha de Ingreso: mayo-2006
Mensajes: 120
Antigüedad: 18 años
Puntos: 3
Re: problema con IN

La sintaxis está bien.

Lo probé y funciona perfecto.
Código:
create table pais_division (nombre char(20),iddivision int,pais int);
create table equipo (nombre char(20),iddivision int);
select * from equipo where iddivision in (select iddivision from pais_division where pais = 'FINLANDIA');
Saludos
__________________
programación php