Addition Operator (+)
Syntax
+
Description
Addition.
If both operands are integers, the result is calculated with BIGINT precision. If either integer is unsigned, the result is also an unsigned integer.
For real or string operands, the operand with the highest precision determines the result precision.
Examples
SELECT 3+5;
+-----+
| 3+5 |
+-----+
| 8 |
+-----+
See Also
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?