Skip to content

Tag: mysql

Add column moving average in mysql

I am currently adding crypto market data to my mysql database. I have the following data per minute : I would like to add the simple moving average of different time periods to the mysql database. I tried to do this calculation in python but this took to much time. Therefore, I calculated the SMA of a 50 day …

Relationships midst two tables?

I have table visitors and table users. Each visitor can be created by only one user and contains field visitors.userId. So, any another user from table users can edit or delete one or more visitors. …