I am new to MySql.
I have a time string( with data and time).
I have the database with name and several times for each name record.
I want to find for a particular name, the record that has the least time difference with the time string I have.
Can someone help me to write a query for this?