select a part of a name - Mailing list pgsql-sql

From Fred Schoonewille
Subject select a part of a name
Date
Msg-id 384E12F0.E5F2F858@coh.fgg.eur.nl
Whole thread Raw
Responses Re: [SQL] select a part of a name  (Vladimir Terziev <vlady@school.digsys.bg>)
List pgsql-sql
Hi,

I am trying to select a part of a name from the columm NAME,

e.g. sql asks the user for input like:   jone

sql should give all names which begin with or containing 'jone'

-jones
-Tom-Jones

Working with:

select * from TEST
where NAME= '&name'

finds only exact matches

Can I use e.g.  %    ?
--

-----------------------------------
Fred Schoonewille

Applicatiebeheer
Computer Ondersteuning Hoboken
-----------------------------------
http://www.eur.nl/fgg/coh
-------------------------------------------------------






pgsql-sql by date:

Previous
From: neko@kredit.sth.szif.hu
Date:
Subject: Re: [SQL] getting table info
Next
From: news-list.pgsql.sql@innominate.de (Thilo Mezger)
Date:
Subject: turning a table by 90 degrees