• + 0 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;