Help for this page

Select Code to Download


  1. or download this
    delete from t where d < now() - interval '2';
    
  2. or download this
    $ pm/1056374.sh 99 60 # create table with 99 rows, keep 60 
    DROP TABLE
    SELECT 100
    ...
    -------+-----------------+-----------------
       990 |             990 |               0
    (1 row)