I wanted to know if there was a way to get the rows between two certain positions (aka: within a range). I am using hibernate and I believe it’s possible to use .setQuerySize(n) (believe because I am not completely sure) to get a certain block of rows, but I do not know how to make it so that I can get a block from a random position.
Share
There is a provision in MYSQL to use
limitSay you want to display the 10 rows,
append
If you want the first 10 records starting from row 1
append
limit 1,10