agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Jennifer Mackown <niftyshellsuit@outlook.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Table results format - should I use crosstab? If so, how?
Date: Wed, 19 Mar 2014 14:58:57 +0000
Message-ID: <DUB115-W1332BA00C05AAEF44DA982FD57F0@phx.gbl> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
Hi,
I have a problem with getting a table to display in the way I want it to. It's one of those things that looks so simple I should be able to do it in 5 minutes, but I've been working on it all afternoon and I'm getting nowhere!!
What I have is the following:
Date Firstday Lastday2014/03/12 1 12014/03/18 1 02014/03/19 0 12014/03/21 1 1
And what I need to see is this:
Firstday Lastday2014/03/12 2013/03/122014/03/18 2013/03/192014/03/21 2013/03/21
Can anyone help?
Thanks,
Jennifer =
view thread (3+ messages) latest in thread
Message-ID: <DUB115-W1332BA00C05AAEF44DA982FD57F0@phx.gbl>
Permalink: ../DUB115-W1332BA00C05AAEF44DA982FD57F0@phx.gbl/
Also on: postgresql.org/message-id/DUB115-W1332BA00C05AAEF44DA982FD57F0@phx.gbl
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: niftyshellsuit@outlook.com
Subject: Re: Table results format - should I use crosstab? If so, how?
In-Reply-To: <DUB115-W1332BA00C05AAEF44DA982FD57F0@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox