pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: roberto <colorob@tin.it>
To: pgsql-sql@postgresql.org
Subject: select
Date: Thu, 09 Oct 2003 15:09:34 GMT
Message-ID: <OSehb.24081$e6.807127@twister2.libero.it> (raw)

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







view thread (10+ messages)  latest in thread

Message-ID: <OSehb.24081$e6.807127@twister2.libero.it>
Permalink:  ../OSehb.24081$e6.807127@twister2.libero.it/
Also on:    postgresql.org/message-id/OSehb.24081$e6.807127@twister2.libero.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: colorob@tin.it
  Subject: Re: select
  In-Reply-To: <OSehb.24081$e6.807127@twister2.libero.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox