Re: Select statement question

From: denis(at)coralindia(dot)com
To: "ebp" <ebp_register(at)yahoo(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Select statement question
Date: 2002-03-04 08:43:02
Message-ID: 017e01c1c358$994d4180$0232a8c0@coralindia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


TRy

select fname,lname,subscriber_id from kbeg where substr(fname,1,1) ='A'

Hope this helps

Denis

----- Original Message -----
From: ebp
To: pgsql-novice(at)postgresql(dot)org
Sent: Sunday, March 03, 2002 3:43 AM
Subject: [NOVICE] Select statement question

Im trying to select only the first names from a table that begin with an A.
I tryed this:
select fname,lname,subscriber_id from kbeg where fname='A*'||'a*'
and no rows shows up, im positive that there are atleast 1,000 rows with fname starting with A.
Any suggestions?

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message denis 2002-03-04 08:46:42 Re: Duplicates Question
Previous Message Ivan Horvath 2002-03-04 07:45:49 Re: timestamp value