Sum of Integers

suggest change
WITH RECURSIVE t(n) AS (
    VALUES (1)
  UNION ALL
    SELECT n+1 FROM t WHERE n < 100
)
SELECT sum(n) FROM t;

Link to Documentation

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents