mysql查询按照指定id排序

例子:

SELECT * from product WHERE id in (108821,108819,108820) order by field(id,108821,108819,108820)

原文地址:https://www.cnblogs.com/linus-tan/p/14132183.html