Google bigquery 以63天为范围,确保我们计算过去3个月的平均值。这个数字可以是62到80+左右的任何数字。。谢谢你 Person | Amount | yearMonth --------------------------- AA | 100 | 20
Google bigquery 以63天为范围,确保我们计算过去3个月的平均值。这个数字可以是62到80+左右的任何数字。。谢谢你 Person | Amount | yearMonth --------------------------- AA | 100 | 20,google-bigquery,aggregate,Google Bigquery,Aggregate,以63天为范围,确保我们计算过去3个月的平均值。这个数字可以是62到80+左右的任何数字。。谢谢你 Person | Amount | yearMonth --------------------------- AA | 100 | 201701 AA | 200 | 201702 AA | 300 | 201703 AA | 70 | 201704 AB | 10 | 201701 AB |
以63天为范围,确保我们计算过去3个月的平均值。这个数字可以是62到80+左右的任何数字。。谢谢你
Person | Amount | yearMonth
---------------------------
AA | 100 | 201701
AA | 200 | 201702
AA | 300 | 201703
AA | 70 | 201704
AB | 10 | 201701
AB | 50 | 201702
AB | 60 | 201703
AB | 70 | 201704
AC | 70 | 201701
AC | 80 | 201702
AC | 30 | 201703
AC | 10 | 201704
Person | Amount | yearMonth
---------------------------
AA | 200 | 201703(avg of 201701-201703)
AA | 190 | 201704(avg of 201702-201704)
AB | 40 | 201703(avg of 201701-201703)
AB | 60 | 201704(avg of 201702-201704)
AC | 60 | 201703(avg of 201701-201703)
AC | 40 | 201704(avg of 201702-201704)