Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/01/2008, 18:22
Avatar de Akiracr
Akiracr
 
Fecha de Ingreso: septiembre-2006
Mensajes: 114
Antigüedad: 17 años, 7 meses
Puntos: 3
Re: consulta en tabla recursiva

Creo que lo haces algo asi:

Select * from tabla where (select id from tabla where area='A1') = id;

la verdad no estoy muy seguro voy a revisar al llegar a mi hogar (creo ke ais no funciona pero bueno vale intentar)....

sino busca informacion de cursores en Mysql como en http://dev.mysql.com/doc/refman/5.0/es/cursors.html