Help for this page

Select Code to Download


  1. or download this
    DROP TABLE IF EXISTS newtable;
    CREATE TABLE newtable
      SELECT T.time, T.name, T.last, P.company, P.wife 
      FROM T 
      JOIN P ON T.wife = P.wife and T.company = P.company;
    
  2. or download this
    $sql="DROP TABLE IF EXISTS newtable;
    CREATE TABLE newtable
    ...
    $sth->execute ();
    $sth->finish ();
    $dbh->disconnect ();