I want to implement pagination in my custom query like it is done in the provided queries. I want to provide the number of rows and the page.
I tried the following but it seems that this is not possible:
SET @start = ('{{rows}}' * '{{page}}');
SELECT `table`.`text`, FROM `table`
order by `table`.`text` desc
limit @start, {{rows}}
And this not either
...
limit {{rows * page}}, {{rows}}