SELECT * FROM `product`
WHERE `id` IN (1,3,6,7,9)
ORDER BY FIELD(`id`, 7,1,3,6,9)
本作品採用《CC 協議》,轉載必須註明作者和本文連結
SELECT * FROM `product`
WHERE `id` IN (1,3,6,7,9)
ORDER BY FIELD(`id`, 7,1,3,6,9)
本作品採用《CC 協議》,轉載必須註明作者和本文連結