I have a form where you can enter an date, now in my table i have these fields:
- id
- userid
- timestamp
- value
What I need is the previous record(/date) based on the given timestamp, I really have no idea on how to do this in MySQL.
Any help would be greatly appreciated!
1 Answer