How to create index on column with datetime type?

Anyone know how exactly the index of column madatime. In fact it is each value unique - if this is the date the record was created. How, then, index is used when selecting the interval dates?
July 12th 19 at 16:35
1 answer
July 12th 19 at 16:37
Because btree can handle not only equality, but also requests for ranges of data.
As it is at the level of chunks of data to study the structure of b-tree and other trees of the search.

Find more questions by tags MySQL