[prev] 13 [next]

Exercise 2: Query Types and Tuple Space

Which part of the tuple-space does each query represent?

Q1: select * from Rel where X = 'd' and Y = 4
Q2: select * from Rel where 'j' < X ≤ 'r'
Q3: select * from Rel where X > 'm' and Y > 4
Q4: select * from Rel where 'k' ≤ X ≤ 'p' and 3 ≤ Y ≤ 6

[Diagram:Pics/select/2d-space.png]