Re: query help

From: volunteer(at)spatiallink(dot)org
To: pgsql-general(at)postgresql(dot)org
Cc: alex(at)purefiction(dot)net, rdeleonp(at)gmail(dot)com
Subject: Re: query help
Date: 2007-09-13 15:32:16
Message-ID: 20070913083216.b22b5ede89d48a4249261b5ab56693f4.042780b475.wbe@email.secureserver.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hello
i add more column not row for new user. i want all "last like 'J%'".
http://www.nabble.com/an-other-provokative-question---tf4394285.html
sincerely
siva

-------- Original Message --------
Subject: Re: [GENERAL] query help
From: "Alexander Staubo" <alex(at)purefiction(dot)net>
Date: Thu, September 13, 2007 11:17 am
To: "volunteer(at)spatiallink(dot)org" <volunteer(at)spatiallink(dot)org>
Cc: pgsql-general(at)postgresql(dot)org

On 9/13/07, volunteer(at)spatiallink(dot)org <volunteer(at)spatiallink(dot)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.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Staubo 2007-09-13 15:38:04 Re: query help
Previous Message Rodrigo De León 2007-09-13 15:18:58 Re: query help