How to realize percentile calculation by MySQL
This article mainly introduces MySQL how to achieve percentile calculation, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Create trial data, 5 days per day 1 million random data, a total of 500w data
Create table nums (id int not null primary key); delimiter $$begintruncate table nums;while slots 2