Home > database >  How to implement the mysql to create a new column, automatic statistical data within three days befo
How to implement the mysql to create a new column, automatic statistical data within three days befo

Time:12-18

How to implement the mysql to create a new column, automatic statistics every three days before the data? This kind of effect is similar to excel, to create a new column sum, statistical data within three days before every day,

CodePudding user response:

Timing task, execute an INSERT statement can, very simple, you provide the name of the table and logic,
  • Related