Summation of a Summation

Hello,

I am brand new to Mathematica. The below summation of a summation correctly displays the formula symbolically, but then provides an error. This formula appears to work in Wolfram Alpha. The question is, what am I doing incorrectly within Mathematica to obtain the same results?

Mathematica

Sum [Sum[ 1, {j = i + 1, n - 1}], {i = 0, n - 2}]

WolframAlpha

sum (sum 1, j=i+1 to n-1), i=0 to n-2

Hi
The code to be written is as follows with “,” without “=” sign

Sum[Sum[1, {j, i + 1, n - 1}], {i, 0, n - 2}]

In addition, have a look at the syntax (yellow at the top) of Sum Sum: Finite and Infinite Summation—Wolfram Documentation

In addition, have a look at the syntax (yellow at the top) of Sum Sum: Finite and Infinite Summation—Wolfram Documentation

Thank you! For some reason I was receiving these via email, but not seeing the post here. It’s not cache, as I tried multiple browsers. But no worries, thanks so much for the help and pointers. Exactly what I needed.