Tag mysql period_add

MySQL PERIOD_ADD Function

Example Add a specified number of months to a period: SELECT PERIOD_ADD(201703, 5); Definition and Usage The PERIOD_ADD() function adds a specified number of months to a period. The PERIOD_ADD() function will return the result formatted as YYYYMM. Syntax PERIOD_ADD(period,…