Optum interview question

Choice was given between C++ and SQL. Q. Make a triangular pattern with alphabets going backwards starting from Z [top to bottom + left to right]. Take the number of rows as an argument. [Easy] Input = 3 Output = Z Y X WVU