select * from nst_t_mcu order by field(product,'SMC','RMX2000');//按product字段按SMC、RMX2000的顺序排序

mysql自定义排序

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-06-24
  • 2021-04-29
  • 2021-12-14
  • 2022-01-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案