Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: SQL database architecture

by graff (Chancellor)
on Nov 04, 2003 at 05:37 UTC ( [id://304334]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    select count(*) from long_table where exam_id=? and question_id=? and 
    +answer=?
      and student_id in (select student_id from long_table where
                         exam_id=? and question_id=? and answer=?)
    
  2. or download this
    "where exam_id=? and answer_$x=?" for $x (1..50);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found