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)
Re: Computing count of intersection of two queries (Relational Algebra --> SQL)
Список 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 по дате отправления: