[Solved] Get the second last record from table


If I understand correct, your table doesn’t have an id or indexed column. In that case there’s not much to do, but to fetch all and get the second last row. However, even if you do that, there is no guarantee that you would get the same result each time.

4

solved Get the second last record from table