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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 09:56:54
Original
4181 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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template