📅  最后修改于: 2022-03-11 15:04:39.235000             🧑  作者: Mango
select billing_month, DATE_FORMAT(now(), "%Y%m") as current_month, period_diff(DATE_FORMAT(now(), "%Y%m"), billing_month) as months from test