Help for this page

Select Code to Download


  1. or download this
      select 't1', count(*) from t1
      union
      select 't2', count(*) from t2
    
  2. or download this
    my $t1_count = table_row_count( $dbh, 'table1' );
    my $t2_count = table_row_count( $dbh, 'table2' );
    ...
        $sth->execute();
        return $sth->fetchrow_array;
    }