dimar has asked for the wisdom of the Perl Monks concerning the following question:
Scenario:
Assume a table called 'tvshow' with the following data:### begin_: tvshow table type ;; title ;; fname ;; lname sitcom ;; simpsons ;; homer ;; simpson sitcom ;; simpsons ;; ned ;; flanders sitcom ;; flintstones ;; fred ;; flintstone sitcom ;; flintstones ;; wilma ;; flintstone sitcom ;; flintstones ;; barney ;; rubble gameshow ;; price is right ;; bob ;; barker gameshow ;; jeopardy ;; alex ;; trebek
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 ...### begin_: query pseudo-code TREE_SELECT type,title,fname,lname FROM tvshow WITH_LEVEL (1,'type' ) WITH_LEVEL (2,'title' ) WITH_LEVEL (3,'lname','fname' ) WHERE type = 'gameshow'
gameshow price is right barker,bob jeopardy trebek,alex
Caveats:
Assume the only important question is whether such a query syntax exists as either a published spec or (even better) runnable code somewhere.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: tree-oriented query against table-oriented data
by renodino (Curate) on Jul 01, 2006 at 19:45 UTC | |
Re: tree-oriented query against table-oriented data
by esskar (Deacon) on Jul 01, 2006 at 19:05 UTC | |
by dimar (Curate) on Jul 04, 2006 at 15:36 UTC | |
by BrowserUk (Patriarch) on Jul 04, 2006 at 22:57 UTC | |
by dimar (Curate) on Jul 05, 2006 at 15:11 UTC |