From: Martin Marques <martin@bugs.unl.edu.ar>
To: pgsql-sql@postgresql.org
Subject: comparing 2 queries
Date: Thu, 15 May 2003 10:48:20 -0300
Message-ID: <200305151048.20609.martin@bugs.unl.edu.ar> (raw)
I have to queries that return INT values, and I want to know if one is
less or equal to the other.
Is it posible to put it all in one query and have a return of 1 or 0?
I tried somethings with CASE, but it didn't work.
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | 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
Subject: Re: comparing 2 queries
In-Reply-To: <200305151048.20609.martin@bugs.unl.edu.ar>
* 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