You are viewing a single comment's thread. Return to all comments →
The simplest way to solve this problem is this;
WITH RECURSIVE numbers(n) AS( SELECT 1
UNION ALL SELECT n + 1 FROM numbers WHERE n < 20
)
SELECT REPEAT('* ', n) FROM numbers;
Seems like cookies are disabled on this browser, please enable them to open this website
Draw The Triangle 2
You are viewing a single comment's thread. Return to all comments →
The simplest way to solve this problem is this;
WITH RECURSIVE numbers(n) AS( SELECT 1
)
SELECT REPEAT('* ', n) FROM numbers;