来源:https://stackoverflow.com/questions/64005360/how-to-achieve-partition-by-kind-of-functionality-using-variables-in-mysql-5-7 标签 mysql sql mysql-5.7