From: Martín Marqués <martin@bugs.unl.edu.ar>
To: pgsql sql Mailing List <pgsql-sql@postgresql.org>
To: pgsql-general@postgresql.org
Subject: ORDER BY what?
Date: Mon, 11 Jun 2001 11:19:31 +0300
Message-ID: <01061111193103.29653@bugs> (raw)
I have a quite complex select query on postgres (obviously :-) ) using PHP
(which is not the problem at the moment) which has some text searches using
LIKE.
My question is: "How can I write an ORDER BY statment so that it's ordered by
the amount of matches it gets?"
Is this posible without getting ichy with the programing?
Saludos.... :-)
--
Cualquiera administra un NT.
Ese es el problema, que cualquiera administre.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: martin@bugs.unl.edu.ar, pgsql-general@postgresql.org
Subject: Re: ORDER BY what?
In-Reply-To: <01061111193103.29653@bugs>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox