Addition
Returns the sum of two numeric or interval-compatible operands.
Category: binary
SQL symbol: +
Syntax
sql
<left> + <right>Parameters
<left>— The value to add to. A DATE or TIMESTAMP is accepted only with an INTERVAL on the other side - two dates cannot be added. Acceptsdate,decimal,float,integer,interval,timestamp.<right>— The value to add. Mixing numeric types widens the result: INTEGER with FLOAT gives FLOAT, INTEGER with DECIMAL gives DECIMAL. Acceptsdate,decimal,float,integer,interval,timestamp.
Returns
decimal, float, integer, interval, timestamp
Examples
sql
SELECT name, number_of_moons + 1 FROM $planets LIMIT 3;Mercury | 1
Venus | 1
Earth | 2
sql
SELECT CAST('2026-01-01' AS DATE) + INTERVAL '1' MONTH;2026-02-01 00:00:00+00:00
Signatures
date + interval→ timestampdecimal + decimal→ decimaldecimal + float→ floatdecimal + integer→ decimalfloat + decimal→ floatfloat + float→ floatfloat + integer→ floatinteger + decimal→ decimalinteger + float→ floatinteger + integer→ integerinterval + date→ timestampinterval + interval→ intervalinterval + timestamp→ timestamptimestamp + interval→ timestamp
Notes
Adding NULL gives NULL. Date arithmetic is only ever date-plus-interval, and the result is a TIMESTAMP even when the operand was a DATE - see Signatures.