[HackerRank SQL] Draw The Triangle 2

문제 link
https://www.hackerrank.com/challenges/draw-the-triangle-2/problem

Code link
https://github.com/JamesJung01/Hackerrank_sql/blob/main/01_Easy/Draw_The_Triangle2.sql

set @numb = 0;
SELECT REPEAT('* ', @NUMB := @NUMB +1)
FROM information_schema.tables
LIMIT 20;

좋은 웹페이지 즐겨찾기