| From: | Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar> | 
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org | 
| Subject: | comparing 2 queries | 
| Date: | 2003-05-15 13:48:20 | 
| Message-ID: | 200305151048.20609.martin@bugs.unl.edu.ar | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-sql | 
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(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephan Szabo | 2003-05-15 14:49:17 | Re: check with select | 
| Previous Message | Tom Lane | 2003-05-15 13:00:25 | Re: "deadlock detected" documentation |