![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/11/2010, 15:28
|
![Avatar de Libras](http://static.forosdelweb.com/customavatars/avatar147802_5.gif) | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 6 meses Puntos: 774 | |
Respuesta: consulta sql sencilla Y porque no haces esto:
SELECT id FROM tabla WHERE activo=1 order by id asc
Segun lo que entiendo quieres todos los campos que tengan activo como 1 o no?? |