Answer the question
In order to leave comments, you need to log in
How to create statistics?
Hello, how to create this in the database?
Answer the question
In order to leave comments, you need to log in
the first thing that came to mind.
Table "statistics" with UsedID, and statistical columns. Initialization to 0. Only 1 row in DB.
The user starts the lesson - the timer turns on, the user finishes the lesson - the timer ends, the time difference goes to the column with hours, the calculated achievements are summed up and updated in the required columns. Or after each achievement, there is the same update. It's up to you to decide.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question