mysql 可以使用field函数进行自定义排序
格式为:select * from table order by field(str1,str2,str3,str4);
查看一条sql语句实际使用时间
set profiling=1;
show profiles; show profile;show profile for query 3; #查看第三条sql语句的具体执行情况
posted on 2020-02-11 20:56 Esquecer 阅读(127) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2025 Esquecer Powered by .NET 9.0 on Kubernetes