前几天有个需要订单未支付的排到最上面,已取消的排到最下面 但是订单状态字段(status),0=已取消,1=未支付,2=已支付 SELECT * FROM ceshi ORDER BY FIELD(`status`, 1, 2, 0);