mysql自定义排序

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

 

posted @ 2021-04-07 11:01  小泉哥  阅读(63)  评论(0编辑  收藏  举报