SELECT id, title, sort FROM my_table WHERE id = 1 AND SELECT id, title FROM my_table WHERE sort is > *sort from first select* LIMIT 1. I'm trying to select a row from my table and then select another row based on the contents of the first select, can I do this? Or would it have to be two queries?
Basically, I'm trying to select row with id 1 and then get it's sort value, then find the row which has the next sort value above it.