Re: Help to simplify sample query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help to simplify sample query
Дата
Msg-id 21339.1078813653@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Help to simplify sample query  (Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br>)
Ответы Re: Help to simplify sample query  (Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br>)
Re: Help to simplify sample query  (Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Tomasz Myrta
Дата:
Сообщение: Re: Help to simplify sample query
Следующее
От: BenLaKnet
Дата:
Сообщение: Re: designer tool connect to PostgreSQL