MySQL关于order by和group by的优化

order by关键字优化 尽可能使用index方式排序,避免使用filesort方式排序mysql create table tblA( #id int primary key not null auto_increment, age int, birth TIMESTAMP not null ); insert into tblA(age,birth) values(22,now()); i
相关文章
相关标签/搜索