Help for this page

Select Code to Download


  1. or download this
    >describe user;
    id   ...
    ...
    >describe system;
    id ...
    userid ...
    
  2. or download this
    select system.id from user, system
       where user.id = system.userid and user.name = ?
    
  3. or download this
    select user.name from user, system
      where user.id = system.userid and system.id = ?
    
  4. or download this
    my $sth = $dbh->prepare( "select ..." );  # sql with "?" in there some
    +where
    $sth->execute( $param );  # pass a value from cgi params
    ...
    else {
        print "<p>No matches found.</p>";
    }