You are viewing a single comment's thread. Return to all comments →
MySQL
WITH RECURSIVE numbers AS ( SELECT 20 AS n UNION ALL SELECT n - 1 FROM numbers WHERE n > 1 ) SELECT REPEAT('* ', n) AS pattern FROM numbers;
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 →
MySQL
WITH RECURSIVE numbers AS ( SELECT 20 AS n UNION ALL SELECT n - 1 FROM numbers WHERE n > 1 ) SELECT REPEAT('* ', n) AS pattern FROM numbers;