MySQL 해커랭크 | Draw The Triangle ( *로 (역)직각삼각형 만들기, SQL식 반복문 >> 재귀쿼리, 재귀함수, REPEAT함수) 직각삼각형 만들기 문제https://www.hackerrank.com/challenges/draw-the-triangle-2/problem?isFullScreen=true Draw The Triangle 2 | HackerRankDraw the triangle pattern using asterisks.www.hackerrank.comP(R) represents a pattern drawn by Julia in R rows.Write a query to print the pattern P(20) # 직각삼각형 예시 P(5)P(5) 풀이과정재귀쿼리와 REPEAT 함수로 풀 수 있음재귀쿼리 → WITH RECURSIVE 테이블명 AS( )REPEAT 함수 → * 기호의 반복 횟수를 +1씩 늘리면서 20보다 .. 이전 1 다음