T
T
TanderOFF2021-04-07 22:02:42
Python
TanderOFF, 2021-04-07 22:02:42

How to remove from everyone any value in the montey and voice column in the table?

Hello , I wanted to reset the data in the montey and voice columns for all users every month
. I tried to put * but that's not it . I ask for any help.
The code:

cursor.execute("UPDATE users SET montey = 0, voice = 0 WHERE id = *")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-04-07
@TanderOFF

Remove WHERE completely

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question