This topic describes how to use the mathematical function addition in Realtime Compute.

Syntax

A + B

Input parameters

Parameter Data type
A INT
B INT

Description

Returns the sum of A and B.

Example

  • Test data
    int1 (INT) int2 (INT) int3 (INT)
    10 20 30
  • Test statements
    SELECT int1+int2+int3 as aa
    FROM T1;               
  • Test results
    aa (INT)
    60