Selecting weekdays from datetime - Mailing list pgsql-novice

From Martin Christensen
Subject Selecting weekdays from datetime
Date
Msg-id 87k8bgx0cx.fsf@fangorn.inspocknito
Whole thread Raw
List pgsql-novice
Howdy,

I have a database of mailing list entries where I would like to do
some statistics on activity on different days of the week. So say I
want to do something along the hypothetical lines of

SELECT COUNT(*) FROM table WHERE day_of_week(date) = 'Mon'

how do I go about doing that?

Martin

--
GPG public key: http://home1.stofanet.dk/factotum/gpgkey.txt

pgsql-novice by date:

Previous
From: Gerhard Kroder
Date:
Subject: Hello to pgsql!
Next
From: Bill Morrow
Date:
Subject: Re: Selecting weekdays from datetime