设有关系R=(A,B,C) ,与SQL语句select distinct A,C f
问题:
设有关系R=(A,B,C) ,与SQL语句select distinct A,C from R where B=5 等价的关系代数表达式是
Ⅰ.πA,C(σB=5(R)) Ⅱ.σB=5(πA,C(R))
A.都等价
B.仅Ⅰ
C.仅Ⅱ
D.都不等价
设有关系R=(A,B,C) ,与SQL语句select distinct A,C from R where B=5 等价的关系代数表达式是
Ⅰ.πA,C(σB=5(R)) Ⅱ.σB=5(πA,C(R))
A.都等价
B.仅Ⅰ
C.仅Ⅱ
D.都不等价