📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

PLUS



Calculates the sum of two numeric or decimal values.

Syntax

PLUS(<number1>, <number2>)

Aliases

Examples

SELECT ADD(1, 2.3), PLUS(1, 2.3); ┌───────────────────────────────┐ │ add(1, 2.3) │ plus(1, 2.3) │ ├───────────────┼───────────────┤ │ 3.33.3 │ └───────────────────────────────┘

Was this page helpful?