|Welcome to the Monastery|
tree-oriented query against table-oriented databy dimar (Curate)
|on Jul 01, 2006 at 17:27 UTC||Need Help??|
dimar has asked for the wisdom of the Perl Monks concerning the following question:
Scenario:Assume a table called 'tvshow' with the following data:
Question:Does there exist anything that will allow that data to be queried in a manner such as (or substantially similar to):
... producing the result ...
Caveats:Assume the only important question is whether such a query syntax exists as either a published spec or (even better) runnable code somewhere.
It is nice to have a perl-based solution that returns the results in structured (e.g., XML, perl data structure, YAML) format, but for now, mere confirmation of whether this exists somewhere (and if so, how is it implemented and what is it called) would be enough. The purpose is due-dilligence before re-inventing this particular wheel, assuming it *is* a wheel.