sorting of a price field - Mailing list pgsql-novice

From Anne Wainwright
Subject sorting of a price field
Date
Msg-id 20130914120758.GA30897@fables.co.za
Whole thread Raw
Responses Re: sorting of a price field
Re: sorting of a price field
Re: sorting of a price field
Re: sorting of a price field
List pgsql-novice
Hi,

I run a fairly simple query to show current records of stock using the
phrase 'sort by shop_price'.

Surprise (but really no surprise) this is sorted in ascii order rather
than shop_price order. So 110.00 comes before 20.00

I can't see any reference to changing this. What can I do, is this
perhaps to do with the field type, can it be changed?

Thanks
Anne


pgsql-novice by date:

Previous
From: DFE
Date:
Subject: Re: PostgreSQL 9.3 Error when trying to run Create Extension postgis
Next
From: Kartik Vashishta
Date:
Subject: undefined symbol: boot_DynaLoader