pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David BOURIAUD <david.bouriaud@ac-rouen.fr>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Help on a sql querry.
Date: Wed, 13 Jun 2001 11:17:14 +0200
Message-ID: <3B272F9A.C8089ED6@ac-rouen.fr> (raw)

Hi the list !
I've got a table in which I've got informations about persons.
I'd like to know how many there are by etablissements, and the detail by
sex.
So, here is how my table is described :
table can :
num_can //candidate number
nom_can //name
...
cod_sex //sex of candidate : M=Man, F = Woman
...
cod_eta // Etablissemnt where this person is.

Any idea ? I'd like to avoid unions, cause it makes many lines for too
few informations....
Thanks by advance.
-- 
David BOURIAUD
----------------------------------------------------------
In a world without walls or fences, what use do we have 
for windows or gates ?
----------------------------------------------------------
ICQ#102562021



view thread (2+ messages)  latest in thread

Message-ID: <3B272F9A.C8089ED6@ac-rouen.fr>
Permalink:  ../3B272F9A.C8089ED6@ac-rouen.fr/
Also on:    postgresql.org/message-id/3B272F9A.C8089ED6@ac-rouen.fr

 · 

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: david.bouriaud@ac-rouen.fr
  Subject: Re: Help on a sql querry.
  In-Reply-To: <3B272F9A.C8089ED6@ac-rouen.fr>

* 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