标签:
SELECT `sku` ,`current_price`FROM `test` WHERE `sku` IN (‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘)ORDER BY FIELD( `sku` , ‘aaa‘, ‘bbb‘, ‘ccc‘, ‘ddd‘, ‘eee‘ )
mysql查询按照in里面的数据排序
原文地址:http://www.cnblogs.com/you-jia/p/4812843.html