Find closest datetime to specified datetime in mysql query
I am trying to find a datetime value in a mysql database that is the closest match to a datetime that i specify, i am having some trouble. The following pseudo code is what i want to achieve: SEL...