I have a table that looks like this:
Slug | Parent | MetaTitle | MetaDescription | MetaKeywords
The Url's on the site are built by appending the slug to the parent as long as the parent is not null. So if I have data like so:
Slug | Parent
-----------------------------------------
Home null
About null
Our-Company About
Our-History Our-Company
I am looking to be able to run a query that would get me
/Home
/About
/About/Our-Company
/About/Our-Company/Our-History
Is this possible? Any help would be great!!!