A
A
Arthur2021-12-15 19:01:21
Python
Arthur, 2021-12-15 19:01:21

How to get the total number of completed rows in a table?

Now I'm making a bot and ran into a problem. I am doing a statistics command
. There will be information about how many users are in the bot.
How to implement it?

PS There is a database with user ids, all ids are stored in the login_id table
. I use telebot, sqlite3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-12-15
@Vindicar

SELECT COUNT(*) FROM login_id ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question