Oracle logoOracle
CodingMembers

SQL — Classify Tree Nodes as Root, Inner, or Leaf

Members only

A SQL question from an Oracle platform-engineering technical round, working over a self-referencing tree table. The difficulty lies in expressing parent/child relationships correctly in a single query, including the NULL edge cases.

Infra Eng
sql
tree
easy
Frequency
Single report
Last asked
2026-09-10
Stage
tech-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...