La expresión del álgebra relacional equivalente a la siguiente expresión del cálculo de tuplas
{ t | t ∈ r ∧ (t[A] = 10 ∧ t[B] = 20 }
es
(A) a
(B) b
(C) c
(D) d
Answer: (C)
Explanation: In Given relational algebra, Tuple t should have two attributes A=10 and B=20
In A, we select tuples having A=10 or B=20 so, it is wrong choice.
In B, we select tuples having A=10 or we can select tuples having B=20, so it is also wrong choice.
D is also wrong choice.
In C, we select tuples having A=10 and tuples having B=20, it is same as above relational algebra. Hence, option (C) is Correct.
Publicación traducida automáticamente
Artículo escrito por GeeksforGeeks-1 y traducido por Barcelona Geeks. The original can be accessed here. Licence: CCBY-SA