select * from test where id in(3,1,5) order by find_in_set(id,'3,1,5');select * from test where id in(3,1,5) order by substring_index('3,1,2',id,1);
Powered by: 博客园 Copyright © 2024 天边那朵云 Powered by .NET 8.0 on Kubernetes