I have a log table in my database which holds all user actions. In this table there is a column called 'money' which indicates how much money this user had on that day (there is also a 'timestamp' column for each log entry)I have a log table in my database which holds a