Re: way to custom sort column by fixed strings, then by field's content - Mailing list pgsql-general

From Adrian Klaver
Subject Re: way to custom sort column by fixed strings, then by field's content
Date
Msg-id 52EFFA90.5000309@gmail.com
Whole thread Raw
In response to way to custom sort column by fixed strings, then by field's content  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
Responses Re: way to custom sort column by fixed strings, then by field's content
Re: way to custom sort column by fixed strings, then by field's content
Re: way to custom sort column by fixed strings, then by field's content
List pgsql-general
On 02/03/2014 12:01 PM, Susan Cassidy wrote:

CCing the list.

> This didn't sort the way I want.  It ended up as:
>      description    | description
> -------------------+-------------
>   18 cm long wrench | Scene 1
>   absolute root     |
>   blue screwdriver  | Scene 1
>   red toolbox       | Scene 1
>   root 3            | Scene 1
>   root 4            | Scene 2
>   root 6            | Scene 3
>   small wrench      | Scene 1
>   tire              | Scene 2
>
>
> The first column is the one I want sorted.

Probably best to show us a made up sample of what you want.

>
> Also note that I made it a left outer join\

Where?

>
> Susan
>



--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Susan Cassidy
Date:
Subject: Re: way to custom sort column by fixed strings, then by field's content
Next
From: Rob Sargent
Date:
Subject: Re: way to custom sort column by fixed strings, then by field's content