Skip site navigation (1) Skip section navigation (2)

Substract queries

From: "Nacef LABIDI" <nacef(dot)l(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Substract queries
Date: 2008-05-22 15:15:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
Hi all,

I was wondering how can I substract result between select queries. I mean I
want to issue a query that does this :
(select * from mytable where condition1) - (select * from mytable where

Thanks to all



pgsql-sql by date

Next:From: Robins TharakanDate: 2008-05-22 15:27:15
Subject: Re: Substract queries
Previous:From: Karl DenningerDate: 2008-05-22 01:12:34
Subject: Re: SQL question....

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group