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 阅读(133) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3