I know this is not do-able, but is there any way to simulate thefollowing in Postgresql 7.1?
select id from(select id, recv_date as date from table1 unionselect id, send_date as date from table2) AS subtableorder by date;
Thanks a lot
Wei