select - Mailing list pgsql-sql

From roberto
Subject select
Date
Msg-id OSehb.24081$e6.807127@twister2.libero.it
Whole thread Raw
List pgsql-sql
Dear friends,
I have this table

table work{
day date,
hour integer,
}

select * from work;

date         |     text
-----------
1-1-2003    1
1-1-2003    1
2-1-2003    5
3-1-2003    10
5-1-2003    15

how can i obtain this?

date         |    text
-----------
1-1-2003    2
2-1-2003    5
3-1-2003    10
4-1-2003    null
5-1-2003    15
6-1-2003    null






pgsql-sql by date:

Previous
From: Janko Richter
Date:
Subject: Re: select
Next
From: Wei Weng
Date:
Subject: Re: [PERFORM] sql performance and cache