I need some help writing a MySQL query that grabs the mode (most frequently occurring number) each day
Data set looks something like this
datetime number 2010-01-01 00:35:00 500 2010-01-01 01:15:10 500 2010-01-02 01:25:10 1500 2010-01-02 01:35:10 50 2010-01-03 12:35:50 100 2010-01-05 05:25:10 2500
(etc)