mysql按id的指定順序進行排序,以前解決過一次,後來忘了,記錄一下 SELECT * FROM `table` WHERE id<6 order by field(id,3,5,1,2,4) ...
mysql按id的指定順序進行排序,以前解決過一次,後來忘了,記錄一下
SELECT * FROM `table` WHERE id<6 order by field(id,3,5,1,2,4)
mysql按id的指定順序進行排序,以前解決過一次,後來忘了,記錄一下 SELECT * FROM `table` WHERE id<6 order by field(id,3,5,1,2,4) ...
mysql按id的指定順序進行排序,以前解決過一次,後來忘了,記錄一下
SELECT * FROM `table` WHERE id<6 order by field(id,3,5,1,2,4)