sql语句采用数字方式的排序

select  z.xymc 省份,y.xm  办理人,s.bt 标题,x.createtime 创建时间,
          nvl2(t.jssj,t.jssj,'未接收')   接收时间
  from LCHJBLSLB t,grgzb s,t_flowinstance x,bmryxx_view y,xydmb z
 where t.bh=s.blslbh and x.id=t.lcbh and t.hjmc like '客户需求反馈' and (clzt = '0' or clzt = '4') and (y.yhm=t.lcblr or t.lcblr=y.ryid) and y.ssbm=z.xydm  order by  1,3,2

备注:随笔中内容来源于网上资料整理,仅供参考。

原文地址:https://www.cnblogs.com/Alanf/p/8029376.html