You are viewing a single comment's thread. Return to all comments →
WITH RECURSIVE series AS ( SELECT 1 AS number -- Starting value UNION ALL SELECT number + 1 FROM series WHERE number < 20 -- Ending value )
SELECT REPEAT('* ', number) FROM series ORDER BY number DESC;
Seems like cookies are disabled on this browser, please enable them to open this website
Draw The Triangle 1
You are viewing a single comment's thread. Return to all comments →
WITH RECURSIVE series AS ( SELECT 1 AS number -- Starting value UNION ALL SELECT number + 1 FROM series WHERE number < 20 -- Ending value )
SELECT REPEAT('* ', number) FROM series ORDER BY number DESC;