DEGREES(x) 用于将参数 x 由弧度转化为角度
mysql> SELECT DEGREES(PI()), DEGREES(PI()/2); +---------------+-----------------+ | DEGREES(PI()) | DEGREES(PI()/2) | +---------------+-----------------+ | 180 | 90 | +---------------+-----------------+
时间: 2024-12-25 08:05:46