I have a mysql database with one of the col taking down the date and time it have been entered in the database, that col is in datetime format ('0000-00-00 00:00:00').
what I need to do here is to select all the row which is before 12am, which mean the date doesn't matter, as I m only looking at the time.
Is there any sql query or method to directly select all the row that meet my requirement without spliting my col or convert my col into other data type.
thanks and best regard.