HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

What is "query containment"?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
querycontainmentwhat

Problem

Any one knows what is "query containment" and where do we use it please?
As far as I can search on Google, I only found one here.

Although, I've got some idea on the subject but I'm finding it difficult to understand the use case of it.

Many thanks,

Solution

The linked paper has a definition:


In the relational model, a query Q1 is said to be contained in the query Q2 if Q1 produces a subset of the answers of Q2, for any given database.

Context

StackExchange Database Administrators Q#245928, answer score: 4

Revisions (0)

No revisions yet.