Re: Help to simplify sample query - Mailing list pgsql-sql

From Tom Lane
Subject Re: Help to simplify sample query
Date
Msg-id 21339.1078813653@sss.pgh.pa.us
Whole thread Raw
In response to Help to simplify sample query  (Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br>)
Responses Re: Help to simplify sample query
Re: Help to simplify sample query
List pgsql-sql
Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br> writes:
>     I don't think this is possible, but: Is there a efficient way to 
> compare if the result of a query is a superset of the result of another ?

Perhaps do "SELECT foo EXCEPT SELECT bar" and see if you get anything?
        regards, tom lane


pgsql-sql by date:

Previous
From: Tomasz Myrta
Date:
Subject: Re: Help to simplify sample query
Next
From: BenLaKnet
Date:
Subject: Re: designer tool connect to PostgreSQL