oracle 实现类似MYSQL的 find_in_set 排序,函数 decode: select * from tb_info_game where gameid in(23,20,19,26,18) order by decode(gameid,23,1,20,2,18,3,26,4,1009,5) by default7#zbphp.com 參考CDSN的帖子:http://topic.csdn.net/t/20060124/08/4532718.html 提问: -----------…
mysql默认的排序: https://forums.mysql.com/read.php?21,239471,239688#msg-239688 Do not depend on order when ORDER BY is missing. Always specify ORDER BY if you want a particular order -- in some situations the engine can eliminate the ORDER BY because of h…