作者: wuaza 时间: 2006-11-22 00:14
select data from tablename where data not is null
union all
select "9999-1-1" from tablename where data is null
order by data作者: qhe99 时间: 2006-11-22 00:47
以下是引用wuaza在2006-11-21 16:14:00的发言:
select data from tablename where data not is null
union all
select "9999-1-1" from tablename where data is null
order by data