E
E
Emilka902022-04-19 21:18:55
SQLite
Emilka90, 2022-04-19 21:18:55

Sqlite3, Python, Aiogram?

Is it possible to somehow select all users in the database and change their balance to 0 for everyone.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Nesterov, 2022-04-19
@Emilka90

In short - you can (within your bot, of course).
To do this:

  • Read about database normalization (if there is no database yet, but even if there is, read it, maybe it will come in handy).
  • Learn sql.
  • Learn how to work with databases using python
  • Clearly formulate the problem.
  • You solve it.

Anticipating the request to give the code and others like them, I will answer:
1. You didn’t really explain anything, I’m reluctant to pull information out of you.
2. QNA is not freelancing, no one will do anything for you, but they are always ready to help with the problem of appearance:
I need to do [detailed task description] . I did this [implementation example], but I get an error [error text| /it works like this [description of how exactly the program does not work] , where to dig?.

S
Sergey Gornostaev, 2022-04-19
@sergey-gornostaev

Can.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question