![](http://dl.iteye.com/upload/picture/pic/136627/07e163fc-744e-31e4-b2e7-8a448bb6e7c9-thumb.png)
Set the record in the red box to the bottom as shown above:
select * from bank order by case MiniName when 'OTH' then 0 end
The result is as follows:
![](http://dl.iteye.com/upload/picture/pic/136629/a12b7c6f-3669-3ee2-ac11-eb36cf1b7362-thumb.png)
the top is written as follows:
select * from bank order by case MiniName when 'OTH' then 0 else 1 end
The result is as follows:
![](http://dl.iteye.com/upload/picture/pic/136631/022f7c3b-c28a-3fc2-9e05-96814feb17b0-thumb.png)
More about the usage of case when ...then .. else ...end:
http://www.cnblogs.com/whl4835349/p/5752292.html