我有一个数据库表:tellcreate table tell (
_id integer primary key autoincrement,
testDate date
);表数据:
_id testDate
1 '2012-3-4'
2 '2012-3-5'
3 '2012-3-15'
4 '2012-4-9'
5 '2012-11-3'查询语句:
select testDate from tell order by testDate desc结果:2012-4-9
2012-3-5
2012-3-4
2012-3-15
2012-11-3结果和数据的排序相差甚远!!
求帮忙解释
如何才能得到正确的排序。非常感谢!在线等
_id integer primary key autoincrement,
testDate date
);表数据:
_id testDate
1 '2012-3-4'
2 '2012-3-5'
3 '2012-3-15'
4 '2012-4-9'
5 '2012-11-3'查询语句:
select testDate from tell order by testDate desc结果:2012-4-9
2012-3-5
2012-3-4
2012-3-15
2012-11-3结果和数据的排序相差甚远!!
求帮忙解释
如何才能得到正确的排序。非常感谢!在线等
解决方案 »
- HttpClient Header 传参数,请教,或者推荐一些类似的信息也行
- android 如何实现对指定号码的短信和来电的拦截
- 求助。。。在csdn上下载了一位朋友的android ocr程序,可是运行起来有点问题不会调试
- Android源码中桌面对应的文件夹是哪个
- android 中java层怎么在新建的分区上存储数据?
- 关于c程序移植到Android平台上的问题
- Android应用程序是否支持补丁更新
- 谁能给一个android日期控件,要android4.0的那个带滑动的
- android 新人 求 指点!关于测试环境
- android 大量图片刷新变化处理
- 用TCP连接进行ADB调试的问题
- 求完整android文件管理系统的源码,可创建文件 ,文件夹,可删除文件,文件夹的
http://blog.csdn.net/kechanghe0705/article/details/6702890