Selecting weekdays from datetime

Martin Christensen <factotum@mail1.stofanet.dk>

From: Martin Christensen <factotum@mail1.stofanet.dk>
To: pgsql-novice@postgresql.org
Date: 2000-10-10T14:00:14Z
Lists: 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