Mysql – How to get 1 row before and 1 row after what query specified?
Imaging a query that delivers "posts" in a specific time period between "from" and "to". A simple query. Additionally, I need to get ONE record BEFORE and ONE record AFTER what the original query specified. For example, a table holds…