Ordering a name list and ignoring whitespace - Mailing list pgsql-sql

From Mikel Lindsaar
Subject Ordering a name list and ignoring whitespace
Date
Msg-id 57a815bf0904160351v7282fd00p7b7d9690ca48dcff@mail.gmail.com
Whole thread Raw
Responses Re: Ordering a name list and ignoring whitespace  (Mario Splivalo <mario.splivalo@megafon.hr>)
Re: Ordering a name list and ignoring whitespace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Hi all,

Doing some googling and looking through the docs, I can't find an
obvious way to do this beside post processing after the query (which I
am trying to avoid).

I'm trying to select a list of names in alphabetical order but
ignoring the whitespace.

So for example, the name "La Combe" should come after "Lace" but
before "Lacs..."


Any ideas?

Mikel


pgsql-sql by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: Re: SQL to Check whether "AN HOUR PERIOD" is between start and end timestamps
Next
From: Mario Splivalo
Date:
Subject: Re: Ordering a name list and ignoring whitespace