You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2025. It is now read-only.
cur.execute("SELECT user_id FROM user") #get all users
385
386
fortup_idincur: #set statistics for each user
386
387
user_id=str(tup_id[0])
387
-
cur=db.cursor()
388
-
cur.execute(
388
+
currUpdate=db.cursor()
389
+
currUpdate.execute(
389
390
"UPDATE user SET "+ \
390
391
"mainNickname = (SELECT nickname FROM nickname INNER JOIN client ON nickname.client_id = client.client_id WHERE client.user_id = :user_id ORDER BY used DESC LIMIT 1), "+ \
391
392
"nCon = (SELECT SUM(nCon) FROM client WHERE user_id = :user_id), "+ \
0 commit comments