Computing count of intersection of two queries (Relational Algebra --> SQL)

Поиск
Список
Период
Сортировка
От Robert James
Тема Computing count of intersection of two queries (Relational Algebra --> SQL)
Дата
Msg-id CAGYyBgiquOZpPh0_aP6tOZZNAu56_gBFq4mZWRMGkj_GRWnvTQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Computing count of intersection of two queries (Relational Algebra --> SQL)  (David Johnston <polobo@yahoo.com>)
Re: Computing count of intersection of two queries (Relational Algebra --> SQL)  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-general
In relational algebra, I have relation R and relation S, and want to
find the cardinality of R, of S, and of R-intersect-S.

I know the SQL for R and S.  What's the best way to compute the
cardinality of each relation (query) and of their intersection?


В списке pgsql-general по дате отправления:

Предыдущее
От: giozh
Дата:
Сообщение: Re: unable to call a function
Следующее
От: David Johnston
Дата:
Сообщение: Re: Computing count of intersection of two queries (Relational Algebra --> SQL)