mysql的mod函数

取余是用函数mod(numer1,number2),其返回的值为其余数值

如:mod(id,2) = 1 返回id号是奇数的id

原文地址:https://www.cnblogs.com/xiaojinniu425/p/9406773.html