Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

tree-oriented query against table-oriented data

by dimar (Curate)
on Jul 01, 2006 at 17:27 UTC ( #558783=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ### begin_:  tvshow table
    type   ;; title             ;; fname    ;; lname    
    ...
    sitcom ;; flintstones       ;; barney   ;; rubble
    gameshow ;; price is right  ;; bob      ;; barker
    gameshow ;; jeopardy        ;; alex     ;; trebek
    
  2. or download this
    ### begin_: query pseudo-code
    TREE_SELECT type,title,fname,lname
    ...
    WITH_LEVEL  (2,'title' )
    WITH_LEVEL  (3,'lname','fname' )
    WHERE       type = 'gameshow'
    
  3. or download this
    gameshow
        price is right
    ...
        jeopardy
            trebek,alex
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://558783]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2021-03-02 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (57 votes). Check out past polls.

    Notices?