放在第一行:
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;
放在第一行:
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;