Prelude: the 2-argument selection
operator
Prelude: the 2-argument selection
operator
How to use the 2-argument selection
operator
Given a SQL query that
contains a
sub-query
Translate the
sub-query first as:
How to use the 2-argument selection
operator
Given a SQL query that
contains a
sub-query
Then translate the
outer query using
the 2-argument selection
(that contains a relation !):
Example: converting nested SQL query into an (initial)
logical query plan
The nested
SQL query:
Example: converting nested SQL query into an (initial)
logical query plan
(1) Convert the
inner query
(using a ordinary
selection (σ) operator):
Example: converting nested SQL query into an (initial)
logical query plan
(2) Convert the
outer query
using a 2-argument
selection (σ*) operator):
What's next ahead ?
❮
❯