일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- 코딩
- 조합
- programmers
- 파이썬
- 코딩테스트
- cte
- 완전탐색
- join
- Queue
- mysql
- LeetCode
- 프로그래머스
- import re
- Level2
- level4
- lv4
- Growth hacking
- python
- itertools
- sql
- Stack
- coding
- coding test
- lambda
- hackerrank
- tableau
- 코테
- time complexity
- AARRR
- counter
- Today
- Total
목록level (2)
ror_coding

WITH RECURSIVE (CTE) 로 Level 구하기 !!! 매우 중요! Question You are given a table, BST, containing two columns: N and P, where N represents the value of a node in Binary Tree, and P is the parent of N.Write a query to find the node type of Binary Tree ordered by the value of the node. Output one of the following for each node:Root: If node is root node.Leaf: If node is leaf node.Inner: If node is neith..

세대 찾기(LEVEL)을 간단하게 JOIN을 이용하여 풀기 ! Question 3세대의 대장균의 ID(ID) 를 출력하는 SQL 문을 작성해주세요. 이때 결과는 대장균의 ID 에 대해 오름차순 정렬해주세요. PointCode 1 : JOIN의 코드 이해를 위한 시각화 자료.2세대 -> JOIN 1번, 3세대 -> JOIN 2번. Code 1 : JOIN SELECT A.ID FROM ECOLI_DATA AS A JOIN ECOLI_DATA AS B ON A.PARENT_ID = B.ID JOIN ECOLI_DATA AS C ON B.PARENT_ID = C.ID WHERE C.PARENT_ID IS NULL ORDER BY 1; Code 2 : My code (CTE) WITH..