We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Draw The Triangle 2
Draw The Triangle 2
Sort by
recency
|
956 Discussions
|
Please Login in order to post a comment
For MySQL Platform
WITH RECURSIVE numbers AS ( SELECT 1 AS n UNION ALL SELECT n+1 FROM numbers WHERE n < 20 ) SELECT REPEAT('* ', n) FROM numbers;
SELECT SUBSTR(S,1,ROWNUM * 2) OP FROM DUAL , (SELECT '* * * * * * * * * * * * * * * * * * * *' S FROM DUAL) CONNECT BY LEVEL <= 20;
In SQL Server