
31/03/2005, 19:03
|
 | | | Fecha de Ingreso: marzo-2004
Mensajes: 1.510
Antigüedad: 21 años Puntos: 7 | |
si fuera oracle tendrias que usar dentro del select lo comandos "start with" y el "connect by" ( si no mal recuerdo ) quedaria.
select id, nombre
from temas
start with id = 1
connect by id = id_padre;
__________________ Blogzote.com :-) Mi blog |