N
N
nikita12252020-01-30 16:14:58
Python
nikita1225, 2020-01-30 16:14:58

How to choose 3 users with the biggest peewee balance?

Hello everyone, please tell me how to display the top 3 players by balance from the SQlite database using peewee. I have a lot of players in the database, I need to display the 3 players with the largest balance, by decreasing the balance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
1keda, 2020-01-30
@1keda

The order_by and limit functions will definitely help you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question