From: Brian Doyle <bdoyle@localmatters.com>
To: pgsql-sql@postgresql.org
Subject: timestamp SQL question
Date: Thu, 17 Nov 2005 16:18:12 -0700
Message-ID: <1132269492.30942.20.camel@dev11dt.corp.localmatters.com> (raw)
I have a table like:
events
visitor_uid varchar(32)
event_type varchar(32)
event_type timestamp
I would like to select events from the table that are older than 30 days
from right now. How would I do that in one query? Thanks.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bdoyle@localmatters.com
Subject: Re: timestamp SQL question
In-Reply-To: <1132269492.30942.20.camel@dev11dt.corp.localmatters.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox