I have a table in Mysql (firstname,lastname,data1,data2,…) that one field name is MYDATE and type of this field is timestamp. In this field, the date saved as (yyyy-mm-dd mm:ss:ms), and there are many records of this table.
I want write a select query that sort this table with (yyyy-mm-dd) and without considering (mm:ss:ms).
but it will cause fullscan.