Does Mysql5.6 have a sort index?

for example, the field addtime is a timestamp, and my business is almost always sorted inversely by the time of this field. Can I directly build such an index? You don"t need order by addtime desc?

Mar.04,2021

No, if you want the result set of sql to be ordered, you must specify the order by statement.


The

index is to find the

of the data more efficiently.

sort belong to business requirements

Menu