(A) A
(B) B
(C) C
(D) D答案: (A)
说明:上面问题中的关系代数表达式,一步一步做4个运算(最里面的括号)。
1. Select those tuples from relation r which satisfies
expression/condition F1, say the result of this
operation is set A.
2. Select those tuples from set A which satisfies
expression/condition F2, say the result of this
operation is set B.
3. Select attrributes set A2 from set B, say the
result of this operation is set C.
4. Select attrributes set A1 from set C, say the
result is set D which is the final result.
现在要优化此表达式,我们可以在F1和F2条件之间使用AND运算符组合操作/步骤1和2,例如F1 ^ F2,并且可以直接从结果中选择属性集A1,而不是选择第一个属性集A2。组合操作,由Option A中的表达式表示。这个问题的测验