pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Staubo <alex@purefiction.net>
To: volunteer@spatiallink.org <volunteer@spatiallink.org>
Cc: pgsql-general@postgresql.org
Subject: Re: query help
Date: Thu, 13 Sep 2007 17:17:13 +0200
Message-ID: <88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.com> (raw)
In-Reply-To: <20070913080635.b22b5ede89d48a4249261b5ab56693f4.f8f6ec4eb6.wbe@email.secureserver.net>
References: <20070913080635.b22b5ede89d48a4249261b5ab56693f4.f8f6ec4eb6.wbe@email.secureserver.net>

On 9/13/07, volunteer@spatiallink.org <volunteer@spatiallink.org> wrote:
> hello
>
> table is
> +-------+-------+------+-------+
> |  id   |  one  | two  | three |
> +-------+-------+------+-------+
> | first | Jack  | Jill | Mary   |
> | last  | Ja | Ji  | Ma |
> +-------+-------+------+-------+
>
> result is
> +----+-------+-------+
> | id | one | two |
> +----+-------+-------+
> | first | Jack  | Jill |
> | last | Ja  | Ji   |
> +----+-------+-------+
>
> query is??

Unless I am missing something crucial, this is SQL 101:

  select id, one, two from foo;

Alexander.



view thread (70+ messages)  latest in thread

Message-ID: <88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.com>
Permalink:  ../88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.com/
Also on:    postgresql.org/message-id/88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.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-general@postgresql.org
  Cc: alex@purefiction.net, volunteer@spatiallink.org
  Subject: Re: query help
  In-Reply-To: <88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.com>
  References: <20070913080635.b22b5ede89d48a4249261b5ab56693f4.f8f6ec4eb6.wbe@email.secureserver.net> <88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.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