Select the path:

Query:


SELECT * FROM directory
WHERE
    left <= 5 AND right >= 6