pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: Manuel Sugawara <masm@fciencias.unam.mx>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL Date Challenge
Date: Mon, 04 Jun 2001 18:56:39 GMT
Message-ID: <20010604.18563900@ler-freebie.iadfw.net> (raw)
In-Reply-To: <m3wv6s3yxs.fsf@dep1.fciencias.unam.mx>
References: <web-66723@davinci.ethosmedia.com>
	<m3wv6s3yxs.fsf@dep1.fciencias.unam.mx>


SELECT whatever from xx where extract(dow from date) = 3;

LER

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 6/4/01, 1:03:11 PM, Manuel Sugawara <masm@fciencias.unam.mx> wrote 
regarding Re: [SQL] SQL Date Challenge:


> "Josh Berkus" <josh@agliodbs.com> writes:

> >
> > SELECT ALL Wednesdays BETWEEN 5/1/01 AND 6/1/01;
> >

> somthing like:

> select date from xx where to_char(date,'fmdy') = 'wed';

> hth,
> Manuel.

> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



view thread (9+ messages)  latest in thread

Message-ID: <20010604.18563900@ler-freebie.iadfw.net>
Permalink:  ../20010604.18563900@ler-freebie.iadfw.net/
Also on:    postgresql.org/message-id/20010604.18563900@ler-freebie.iadfw.net

 · 

reply

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: ler@lerctr.org, masm@fciencias.unam.mx, josh@agliodbs.com
  Subject: Re: SQL Date Challenge
  In-Reply-To: <20010604.18563900@ler-freebie.iadfw.net>

* 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