mysql> select rand();
+--------------------+
| rand()             |
+--------------------+
| 0.9913473352709294 |
+--------------------+
1 row in set (0.00 sec)

mysql> select rand()*100;
+-------------------+
| rand()*100        |
+-------------------+
| 57.10881106286199 |
+-------------------+
1 row in set (0.01 sec)

 

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-09-28
  • 2021-12-04
猜你喜欢
  • 2021-12-09
  • 2021-11-18
  • 2021-11-28
  • 2021-12-19
  • 2021-10-01
  • 2021-12-09
  • 2021-08-05
相关资源
相似解决方案