Imagine I have a table named fruits laid out like this below.
| id | fruit | colour |
|--------------------------------------|
1 | ptiru | Grape | Green/Red |
2 | wlk3b | Banana | Yellow |
3 | i9nuc | Strawberry | Red |
Lets focus on the ID column. You can see that it is not a auto incremented integer, going up +1 each time. But instead it's a random combination of 5 numbers/letters.
If I have the 2nd record selected (banana) how would I then select the previous record (grape) and the next record (strawberry)?
Can't wait for an answer ;) Thanks!