select id,g_name from shop_goods where id in(6895,6592,6589) order by DECODE(id,’6895′,’1′,’6592′,’2′,’6589′,’3′,id)