pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin@bugs.unl.edu.ar>
To: pgsql-sql@postgresql.org
Subject: select by groups
Date: Mon, 1 Mar 2004 19:20:20 -0300
Message-ID: <200403011920.20505.martin@bugs.unl.edu.ar> (raw)

I have a table with names of people, email address, etc, and an identifier 
that tells me which group they are in (could be a 1, 2, or 3 person group). 
Is it posible to make a query that would give me the name of the persons of 
each group in one row? Or do I have to do PL?

-- 
 19:15:01 up 97 days,  1:24,  4 users,  load average: 0.00, 0.07, 0.17
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------




view thread (2+ messages)  latest in thread

Message-ID: <200403011920.20505.martin@bugs.unl.edu.ar>
Permalink:  ../200403011920.20505.martin@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/200403011920.20505.martin@bugs.unl.edu.ar

 · 

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: martin@bugs.unl.edu.ar
  Subject: Re: select by groups
  In-Reply-To: <200403011920.20505.martin@bugs.unl.edu.ar>

* 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