https://timescaledb.cn/learn/how-to-compute-standard-deviation-postgresql