问题描述
解决方案
select client,ID,taskdate from 表名
order by client, ID DESC, taskdate
解决方案二:
select* from 表名
order by client, Atype DESC, ID
解决方案三:
select client,ID,taskdate from 表名
order by client, taskdate DESC, ID
解决方案四:
select client,ID,taskdate from 表名
order by client, ID DESC, taskdate
解决方案五:
select client,ID,taskdate from 表名 order BY client asc,taskdate,ID desc(如果让client为降序的话order by改成group by,asc改成desc,ID要升序desc改成asc)
时间: 2024-11-01 13:01:18