mysql in 排序时间:2023-03-10 05:31:41 SELECT * FROM my_table WHERE id IN (30, 20, 80, 40) ORDER BY FIELD(id, 30, 20, 80, 40);