1. 程式人生 > >POWER(x,y)

POWER(x,y)

select pan sql class style clas blog mysq log

POWER(x,y) 用於返回 x 的 y 次方的結果

mysql> SELECT POWER(2,4), POWER(2,-4);
+------------+-------------+
| POWER(2,4) | POWER(2,-4) |
+------------+-------------+
|         16 |      0.0625 |
+------------+-------------+

POWER(x,y)