Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    $sth->finish();
    $dbh->disconnect();
    
  2. or download this
    my $sth = $dbh->prepare("SELECT AVG(col3) FROM mydata.csv");
    
  3. or download this
    my $sth = $dbh->prepare("SELECT (col2 + col3) FROM mydata.csv");
    
  4. or download this
    my $sth = $dbh->prepare("SELECT AVG(col2 + col3) FROM mydata.csv");
    
  5. or download this
    col1,col2,col3,col4
    
    ...
    
    481,435,225,0.6