You are viewing a single comment's thread. Return to all comments →
WITH pattern AS ( SELECT 1 AS N UNION ALL SELECT N + 1 FROM pattern WHERE N < 20 ) SELECT REPLICATE(' *',N) FROM pattern OPTION (MAXRECURSION 0)
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 →
WITH pattern AS ( SELECT 1 AS N UNION ALL SELECT N + 1 FROM pattern WHERE N < 20 ) SELECT REPLICATE(' *',N) FROM pattern OPTION (MAXRECURSION 0)