select

From: "roberto" <colorob(at)tin(dot)it>
To: pgsql-sql(at)postgresql(dot)org
Subject: select
Date: 2003-10-09 15:09:34
Message-ID: OSehb.24081$e6.807127@twister2.libero.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

  • Re: select at 2003-10-09 16:58:42 from Janko Richter

Browse pgsql-sql by date

  From Date Subject
Next Message Janko Richter 2003-10-09 16:58:42 Re: select
Previous Message Jan Wieck 2003-10-09 13:45:30 Re: