peipei1987 2008-3-20 21:44
在线等,怎么把一个DATE型字段排序,并选择
例如选择2001.1.1-2001.12.30的
阿七 2008-3-21 09:45
貌似是这样写的
select * from 表
where date>2001.1.1 and date<2001.12.30
阿七 2008-3-21 09:59
排序的话 在后头加个语句
select * from 表
where date>2001.1.1 and date<2001.12.30 order by date asc