1SELECT id FROM table ORDER BY id DESC LIMIT 5
2
3If you like to select entries 10,9,[8,7,6,5,4],.. try (3 start index, 5 row count)
4
5SELECT id FROM table ORDER BY id DESC LIMIT 3,5
6Or 1,2,3,[4,5,6,7,8],9,10
7
8SELECT id FROM table ORDER BY id ASC LIMIT 4,5