作成日:2019-04-11, 更新日:2022-03-09

基本

select *
from 〇〇〇
where カラムA in (hoge1, hoge9, hoge5),
order by field(カラムA, hoge1, hoge9, hoge5);