About the command order by

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-sql(at)postgresql(dot)org
Cc: ctoudic(at)delices(dot)com
Subject: About the command order by
Date: 1998-05-13 12:43:57
Message-ID: Pine.BSF.3.96.980513084320.3412B-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

===================================================================
This message has been sent to a DEAD mailing list, and subsequently
reforwarded to the proper one: pgsql-sql(at)postgresql(dot)org
===================================================================

I have a problem with the command order by with the Postgresql version 6.1 :
my first query work good :
$requete=3D"select ent.* , activ.* from entreprise ent, activite activ wher=
e
activ.numactivite =3D $activite";

But when I put an order by into, I have a bug :
$requete=3D"select ent.* , activ.* from entreprise ent, activite activ wher=
e
activ.numactivite =3D $activite order by ent.effectif";

Do you know this problem and how to resolve it.

Thanks a lot for a quickly response.

Terre =E0 D=E9lices
Christophe TOUDIC
8 rue Hermann Frenkel
69007 LYON
T=E9l : 04 78 61 46 33
Fax : 04 78 61 46 99
Email : terre(at)delices(dot)com

Browse pgsql-sql by date

  From Date Subject
Next Message Aleksey Dashevsky 1998-05-13 14:28:46 TIME RANGES
Previous Message Mike Embry 1998-05-12 16:35:37 subscribe