Home > Database > Mysql Tutorial > mysql div除法的取模运算和 mod取余运算

mysql div除法的取模运算和 mod取余运算

WBOY
Release: 2016-06-01 09:56:54
Original
4135 people have browsed it
mysql MOD取余运算的函数
Copy after login
<code class="language-sql">​SELECT MOD(234, 10); </code>
Copy after login
结果:4

mysql div除法的取模运算
Copy after login
<code class="language-sql">SELECT 234 div 10; </code>
Copy after login
结果:2
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template