<div class="code" style="position:relative; padding:0px; margin:0px;"><pre> mysql MOD取余运算的函数 </pre><div class="contentsignin">登入後複製</div></div> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre> <code class="language-sql">SELECT MOD(234, 10); </code></pre><div class="contentsignin">登入後複製</div></div> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre> 结果:4 mysql div除法的取模运算 </pre><div class="contentsignin">登入後複製</div></div> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre> <code class="language-sql">SELECT 234 div 10; </code></pre><div class="contentsignin">登入後複製</div></div> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre> 结果:2</pre><div class="contentsignin">登入後複製</div></div> <p class="title-navigation"> </p>