Re: query help - Mailing list pgsql-general

From Alexander Staubo
Subject Re: query help
Date
Msg-id 88daf38c0709130817se4a12d8gafd507061e000ca5@mail.gmail.com
Whole thread Raw
In response to query help  (volunteer@spatiallink.org)
List pgsql-general
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.

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Data Model - Linking to PHP Code - Literature
Next
From: "Rodrigo De León"
Date:
Subject: Re: query help