相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
集合是没有顺序的,对于子查询,请移除order by子句,或者 top 100 percent+order by 组合使用
试试
ORDER BY fundTime
依然放前面,在GROUP BY
中加上 fundTime 列名问题解决,只要先分组,然后再排序就好了。