'select where' using multiple columns. - Mailing list pgsql-sql

From Rob Kirkbride
Subject 'select where' using multiple columns.
Date
Msg-id 42F33585.1090706@rkcomputing.co.uk
Whole thread Raw
Responses Re: 'select where' using multiple columns.
Re: 'select where' using multiple columns.
List pgsql-sql
Hi,

I've googled around for this but can't see a decent way of doing this :

I've got a persons name which is being stored say in 3 columns :-  
Title, Forename_1, Forename_2, Surname. I want to allow a search say for 
'John Smith'. Problem is I can't just break it up into forename and 
surname because I won't also know.
Is there a way to do something like a
'select * where forename_1,forename_2,surname like '%String%'   ??

Thanks for any help. Apologies if its a FAQ.

Rob



pgsql-sql by date:

Previous
From: Louise Catherine
Date:
Subject: Make C file for create type
Next
From: Ian Johannesen
Date:
Subject: Re: 'select where' using multiple columns.