use*_*298 2 sql amazon-redshift
手册中有log10和ln函数,但现在找不到如何计算log2了。
https://docs.aws.amazon.com/redshift/latest/dg/Math_functions.html
Gor*_*off 5
可以通过除法计算任何底数的对数。对于这种特殊情况:
select ln(x) / ln(2)
归档时间:
7 年,5 月 前
查看次数:
304 次
最近记录: