Re: order by question.

From: Ennio-Sr <nasr(dot)laili(at)tin(dot)it>
To: pgsql-bugs(at)postgresql(dot)org
Cc: nasr(dot)laili(at)tin(dot)it
Subject: Re: order by question.
Date: 2007-05-04 23:43:35
Message-ID: 20070504234335.GA18016@deby.ei.hnet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

* Ennio-Sr <nasr(dot)laili(at)tin(dot)it> [040507, 23:52]:
> * Jose Blanco <blancoj(at)umich(dot)edu> [040507, 14:28]:
> > This second time I did, see
> >
> > select author, sort_author from itemsbyauthor where sort_author like 'tan%'
> > order by 2;
> >
> Hi Jose,
> have you tried to modify your query as others suggested? i.e.:
>
> --> select author, sort_author from itemsbyauthor where sort_author like
> 'tan%' ORDER BY sort_author;
> ^^^^^^^^^^^^^^^^^^^^

Oops ... I missed your "order by 2" ... Sorry ;(

--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?//
Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ] (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that. )=(
Do something you aren't good at!" (as Henry Miller used to say) ]

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Russell Smith 2007-05-05 12:55:35 Re: Removing pg_auth_members.grantor (was Grantor name gets lost when grantor role dropped)
Previous Message Stephan Szabo 2007-05-04 22:25:30 Re: order by question.