Re: Select 'Sunday' in month ??

Поиск
Список
Период
Сортировка
От tjk@tksoft.com
Тема Re: Select 'Sunday' in month ??
Дата
Msg-id 200101180140.RAA06019@uno.tksoft.com
обсуждение исходный текст
Ответ на Select 'Sunday' in month ??  (Tubagus Nizomi <nizomi@dnet.net.id>)
Ответы Re: Select 'Sunday' in month ??
Список 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 по дате отправления:

Предыдущее
От: Tubagus Nizomi
Дата:
Сообщение: Select 'Sunday' in month ??
Следующее
От: Carolyn Wong
Дата:
Сообщение: update help