Skip to content

Tag: mysql

Rolling sum for a column in mysql

I would like to get the rolling sum for the growth column for the following sample data which can be found here dbfiddle The output should look like, Growth RollingSum TMonth TYear 511 511 …

Mysql analyze table content

I forgotten the name of the SQL command to analyse the content of a table. The command I’m looking for shows me for each colum the min/max/avg length of the content. If I remember correctly it starts …