summaryrefslogtreecommitdiff
path: root/mysql-test/t/sel000004.test
blob: e6adc5491634362f04209297b010ee81eb6d3a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# sel000004
#
# Versions
# --------
#   3.22
#   3.23
#
# Description
# -----------
# Simple arithmetic.
# Testing MOD(), SIGN(), and arithmetic grouping.
#

@r/sel000004.result SELECT 1+1,1-1,1+1*2,8/5,8%5,MOD(8,5),MOD(8,5)|0,-(1+1)*-2,SIGN(-5);