我在SQL2000中,使用如下语句:
select tel_yChongzhi.*,tel_userMoney.memo from tel_yChongzhi,tel_userMoney where tel_yChongzhi.khquhao='371'and tel_yChongzhi.khuser=tel_userMoney.usercode order by tel_ychongzhi.khuser asc , tel_userMoney.memo asc为什么不能成功?只有第一个(khuser)排序了,第二个没有排序啊 ,怎么解决这个问题???
select tel_yChongzhi.*,tel_userMoney.memo from tel_yChongzhi,tel_userMoney where tel_yChongzhi.khquhao='371'and tel_yChongzhi.khuser=tel_userMoney.usercode order by tel_ychongzhi.khuser asc , tel_userMoney.memo asc为什么不能成功?只有第一个(khuser)排序了,第二个没有排序啊 ,怎么解决这个问题???
解决方案 »
- 排除显示
- 如何修复sqlservr中表的自动增加列从1开始
- select语句的一个问题
- 等待用于页 (1:153858),数据库 ID 5 的缓冲区闩锁类型 2 时发生超时。
- searchSql="select * from user where datediff(day,dateandtime,getdate())<="&riqi&"" 这句话有错吗??
- 监控SiYuanLibraryMS数据库中DDL_DATABASE_LEVEL_EVENTS级别的所有事件
- 请教SQL问题:关于“叠加分组”?
- 3NF的含义?
- 急问数据库更新问题?
- 系统数据类型中的datetime是以什么格式存储的?
- Unsupported method: ResultSet.first问题,我已设Statement stmt
- 求查找多字段重复数据的问题?急
???????????????????????????????????????????????????????????????????????????
本人初学SQL
请教各位大侠
上面的语句用的对吗?