mysql 查询主键排序问题 id是主键,查询就会默认的按主键排序,可不可以去掉这个排序,就按照我的 4 3 1 排序出来select * from article where id = 4 or id = 3 or id = 1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from article order by find_in_set(id,'4,3,1')orselect * from article order by if(id = 4,1,if(id = 3,2,if(id = 1,3,4))) (select * from article where id = 4)unin(select * from article where id = 3)unin(select * from article where id = 1) select * from article where id = 4 or id = 3 or id = 1 order by id desc select * from article where id = 4 or id = 3 or id = 1order by find_in_set(id,'4,3,1') 如何提高mysql 的插入速度,高手请帮忙 MYSQL的schedule job那里错了? mysql数据导入问题 怎么把视图存为一张单表? 谁能给个全面系统地介绍 sql存储过程的网址 MySQL安装后不能使用问题? 各位大侠,帮帮忙!! mysql中,关于什么用户是超级用户的问题。 急!!!求教大神UNION ALL 添加别名的问题 show procedure code命令怎么使用 mysql数据库不能显示中文,中文都成?了, 求大侠帮忙!!! 这两个表怎么计算库存
or
select * from article order by if(id = 4,1,if(id = 3,2,if(id = 1,3,4)))
unin
(select * from article where id = 3)
unin
(select * from article where id = 1)
from article
where id = 4 or id = 3 or id = 1
order by find_in_set(id,'4,3,1')