Jiliuke

激流客

  • 首页
  • 标签
  • 分类
  • 归档
  • 站点地图
  • 搜索
  • 文章目录
  • 站点概览

michaeldyl520

Bring the crowds together, inspire unlimited
132 日志
34 分类
139 标签
GitHub E-Mail
0%

mysql 搜索按照in中顺序排序

发表于 2015-08-11 更新于 2022-04-15 分类于 MYSQL 阅读次数:

select * from shopnc_order where order_id in (1225,1228,1231,1233) order by FIND_IN_SET(order_id,’1228,1225,1231,1233’);

请我喝杯咖啡
michaeldyl520 微信 微信
michaeldyl520 支付宝 支付宝
# MYSQL
centos 安装sensors查看cpu温度
中文传值火狐、google浏览器无问题,但IE有乱码问题的解决
© 2023 michaeldyl520