Servian interview question

How to implement a hierarchical dataset using SQL.