Nested set model in SQL

ID: nested-set-model-in-sql

How to implement Nested set model in SQL:

New to topics? Read the docs here!