A
A
Asprod2021-11-20 19:58:11
SQLite
Asprod, 2021-11-20 19:58:11

How to start a for loop from the end?

I have selected objects from sqlite and I need to display them from the end, i.e. new entries at the top.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alan Gibizov, 2021-11-20
@Asprod

Firstly, what does python have to do with it, a question about sql.
Secondly,SELECT * FROM mytable ORDER BY id DESC

W
Wispik, 2021-11-20
@Wispik

reversed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question