mysql datetime comparison
…this is obviously performing a ‘string’ comparison No – if the date/time format matches the supported format, MySQL performs implicit conversion to convert the value to a DATETIME, based on the column it is being compared to. Same thing happens with: WHERE int_column = ‘1’ …where the string value of “1” is converted to an … Read more