标签: mysql sql
我有一个SQL查询:
select * from qbs_question_options where qbs_opt_id in (28445, 28446, 28447, 28449, 28448, 28444) ORDER BY FIELD(qbs_qst_id, 28445, 28446, 28447, 28449, 28448, 28444)
我没有按照上面ORDER BY FIELD中提到的顺序得到结果。上述查询以ASC顺序结果。如何获得这些?
ORDER BY FIELD
ASC