I have a row's primary key. I would like to select all of the data for both this row and the one right after it. I think I'll be using syntax similar to...
But, from what I understand, LIMIT uses offsets. Is there some way to take my primary key and turn it into an offset? Bonus if I don't have to run a second query.Code:SELECT * FROM `some_table` ORDER BY `some_column` LIMIT x, 2









Bookmarks