Is this "order by" logic right

From: Josué Maldonado <josue(at)lamundial(dot)hn>
To: pgsql-general(at)postgresql(dot)org
Subject: Is this "order by" logic right
Date: 2003-09-24 14:42:48
Message-ID: 3F71AD68.8070807@lamundial.hn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello list,

The query has the following in the where:

UPPER(cty_Name) LIKE 'NEW%' ORDER BY cty_name

it returns the data in this way:

Newark
Newark
New Britain
Newburgh
New Cannan
New Castle
Newcomerstown

The table has index on cty_name (btree), I'll appreciate any comments or
suggestions about it.

Thanks

--
Josué Maldonado.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-09-24 14:53:35 Re: Is this "order by" logic right
Previous Message Russ Brown 2003-09-24 14:35:17 pltcl problem