Re: Select 'Sunday' in month ?? - Mailing list pgsql-sql

From tjk@tksoft.com
Subject Re: Select 'Sunday' in month ??
Date
Msg-id 200101180140.RAA06019@uno.tksoft.com
Whole thread Raw
In response to Select 'Sunday' in month ??  (Tubagus Nizomi <nizomi@dnet.net.id>)
Responses Re: Select 'Sunday' in month ??  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-sql
E.g.

create table mytable (created datetime);
insert into mytable values ('01-01-2001');
...
insert into mytable values ('01-31-2001');

select created from mytable where date_part('dow', created) = 7 and date_part('month', created) = 1;


Troy

> 
> i want to select date in january where day='Sunday'
> 
> any idea ??
> 
> please help me
> 
> Nizomi
> 



pgsql-sql by date:

Previous
From: Tubagus Nizomi
Date:
Subject: Select 'Sunday' in month ??
Next
From: Carolyn Wong
Date:
Subject: update help