放在第一行:
select * from TDICTCODE t where t.ftypeid=‘46‘ ORDER BY case FDICTCODE when ‘45‘ then 1 else 2 end,FDICTCODE;
放在最后一行:
select * from TDICTCODE t where t.ftypeid=‘46‘ ORDER BY case FDICTCODE when ‘45‘ then 26 else 25 end,FDICTCODE;
时间: 2024-10-29 10:48:12