Re: Select - Mailing list pgsql-general

From newsreader@mediaone.net
Subject Re: Select
Date
Msg-id 20010417093555.A708@dragon.universe
Whole thread Raw
In response to Select  ("Marcelo Pereira" <gandalf@sum.desktop.com.br>)
List pgsql-general
On Tue, Apr 17, 2001 at 09:23:02AM -0300, Marcelo Pereira wrote:
> Hi All,
>
>
> Now I would like to select all employees which name begins with the letter
> "P".....
>
> > Select * from employee where "name-begin-with-letter-P"....  :-)
>

select * from employee where email ~ '^P';

or if case does not matter

select * from employee where upper(email) ~ '^P';

pgsql-general by date:

Previous
From: "mike"
Date:
Subject: Re: Select
Next
From: Marek Pętlicki
Date:
Subject: failed sanity check, table answers was not found