![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/02/2008, 13:41
|
| | Fecha de Ingreso: junio-2004 Ubicación: Stgo, Chile
Mensajes: 51
Antigüedad: 20 años, 7 meses Puntos: 0 | |
Re: Ordenar por fecha registros de diversas tablas La solución es haciendo un UNION entre las tres tablas.
la idea es la siguiente:
SELECT nombre FROM tabla1
UNION SELECT nombre FROM tabla2
UNION SELECT nombre FROM tabla 3
ORDER BY fecha
El unico requisito es que en las 3 tablas recuperes el mismo tipo de campo.
Saludos,
Victoria |