728x90
[해커랭크] Draw The Triangle 1
https://www.hackerrank.com/challenges/draw-the-triangle-1/problem?isFullScreen=true
Draw The Triangle 1 | HackerRank
Draw the triangle pattern using asterisks.
www.hackerrank.com
못풀겠어서 다른 사이트 글 보고 따라 쳤는데
자꾸 오류가 나는 거다...
진자 왜지..왜지 했는데
* 그리고 띄어쓰기 해야함 ㅎㅎ
꼼꼼히 보자..^^
SET @number = 21;
SELECT REPEAT('* ', @number := @number -1)
FROM information_schema.tables
LIMIT 20;
728x90
'SQL' 카테고리의 다른 글
[해커랭크] The PADS (0) | 2023.07.20 |
---|---|
[해커랭크] Draw The Triangle 2 (0) | 2023.07.20 |
[해커랭크] Top Earners (0) | 2023.07.18 |
[해커랭크] The Blunder (0) | 2023.07.18 |
[해커랭크] Population Census (0) | 2023.07.18 |