select * from 表 order by case when 名称='A' and 编号=3 then 0 else 1 end,名称,编号 desc