如何讓SQL語句不執行默認排序,而是按照in語句的順序返回結果

Oracle:sql select name from order where order_id in('111','222','333','444','555','666')order by instr('111,222,333,444,555,666',order_id); Mysql:spa select name from order where order_id in ('111','2
相關文章
相關標籤/搜索