I have a table in Mysql (firstname, lastname, data1, data2, ...) that one field name is MYDATE , and the type of this field is timestamp . In this field, the date is saved as (yyyy-mm-dd mm: ss: ms), and there are many entries in this table.
I want to write a select query sorting this table using (yyyy-mm-dd) and ignoring (mm: ss: ms).
source share