查询数据库中表字段 字段按由大到小排序 求解决方法!!!!
查询语句
select stateID,stepID from pro1 where code=217 group by stateid,stepID order by stateid,stepID desc
order by stateID desc,stepID
[解决办法]
select stateID,stepID from pro1 where code=217 group by stateid,stepID order by stateid desc,stepID desc
[解决办法]
select stateID,stepID from pro1 where code=217 group by stateid,stepID order by stateid desc,stepID