pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jackson, DeJuan <djackson@cpsgroup.com>
To: The Hermit Hacker <scrappy@hub.org>
To: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] Odd "problem", not sure if there is a solution ....
Date: Fri, 26 Mar 1999 10:29:17 -0600
Message-ID: <D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com> (raw)

It's possible, but not on the SQL end.  You'll have to do the work on the 
display end.  If you're using PHP or Perl I'd be happy to give you a hand.
	-DEJ

> -----Original Message-----
> From: The Hermit Hacker [mailto:scrappy@hub.org]
> Sent: Thursday, March 25, 1999 9:47 PM
> To: pgsql-sql@postgreSQL.org
> Subject: [SQL] Odd "problem", not sure if there is a solution ....
> 
> 
> 
> am working up a database for client that contains answers for online
> testing...right now, the 'tables' look like:
> 
> userid Q1 Q2 Q3 Q4 Q5 Q6 Q7 etc
> 
> I want to change it so that its more generic, as:
> 
> userid question_no answer
> 
> so that instead of one row per user, there are X rows...
> 
> the problem is that, somehow, I want the client to be able to view the
> results as the first format (ie. one line per user) with it 
> being stored
> as multiple lines per user...
> 
> Possible?
> 
> Marc G. Fournier                   ICQ#7615664               
> IRC Nick: Scrappy
> Systems Administrator @ hub.org 
> primary: scrappy@hub.org           secondary: 
> scrappy@{freebsd|postgresql}.org 
> 
> 



view thread (6+ messages)  latest in thread

Message-ID: <D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com>
Permalink:  ../D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com/
Also on:    postgresql.org/message-id/D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: djackson@cpsgroup.com, scrappy@hub.org
  Subject: Re: [SQL] Odd "problem", not sure if there is a solution ....
  In-Reply-To: <D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com>
  References: <D05EF808F2DFD211AE4A00105AA1B5D20371DA@cpsmail.cpsgroup.com>

* 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