We have a table defined transactions as;
transactions
id ----- 0 1 2 5 6 8 9 10 15
As seen, the id\'s are not consecutive. The goal