POWER(x,y) 用于返回 x 的 y 次方的结果
mysql> SELECT POWER(2,4), POWER(2,-4); +------------+-------------+ | POWER(2,4) | POWER(2,-4) | +------------+-------------+ | 16 | 0.0625 | +------------+-------------+
时间: 2024-10-11 07:00:41
POWER(x,y) 用于返回 x 的 y 次方的结果
mysql> SELECT POWER(2,4), POWER(2,-4); +------------+-------------+ | POWER(2,4) | POWER(2,-4) | +------------+-------------+ | 16 | 0.0625 | +------------+-------------+