SQL 문제 16 - Tree Node LeetCode 608


SQL 문제 16 - Tree Node LeetCode 608

SQL 문제 16 - Tree Node LeetCode 608 Tree Node 풀이 SELECT ID , CASE WHEN P_ID IS NULL THEN 'Root' WHEN ID NOT IN (SELECT P_ID FROM TREE WHERE P_ID IS NOT NULL) THEN 'Leaf' ELSE 'Inner' END AS TYPE FROM TREE; * 출처 Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com...

SQL 문제 16 - Tree Node LeetCode 608에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


#SQL #SQL_LeetCode608 #SQL_TreeNode #SQL_TreeNode_LeetCode608 #TreeNode_LeetCode608

원문링크 : SQL 문제 16 - Tree Node LeetCode 608