retagged by
947 views
1 votes
1 votes

The relational algebra expression equivalent to the tuple calculus expression

$\{t\mid t ​ \in ​ r \land (t[A]=10 \land t[B]=20)\}$ is

  1. $\sigma_{(A=10\:\lor\:B=20)}(r)$
  2. $\sigma_{(A=10)}(r)\cup\sigma_{(B=20)}(r)$
  3. $\sigma_{(A=10)}(r)\cap\sigma_{(B=20)}(r)$
  4. $\sigma_{(A=10)}(r)-\sigma_{(B=20)}(r)$
retagged by

1 Answer

1 votes
1 votes

Option C

t ia table have two attribute A,B

$({t∣t​∈​r∧(t[A]=10∧t[B]=20)}$ MEANS one of the tuple of table t value of A=10 and B=20

 

t.A       t.B    
10 20
30 40

here r is table with attribute A,B

$σ(A=10)(r)∩σ(B=20)(r)$ means one of the tuple of table r value of A=10 and B=20

Answer:

Related questions

0 votes
0 votes
1 answer
1
admin asked Mar 31, 2020
703 views
Global lockssynchronize access to local resources.synchronize access to global resources.are used to avoid local locks.prevent access to global resources.
1 votes
1 votes
2 answers
2
admin asked Mar 31, 2020
1,660 views
In a relational Schema, each tuple is divided into fields calledrelationsdomainsqueriesnone of these
2 votes
2 votes
1 answer
3
admin asked Mar 31, 2020
1,813 views
The employee salary should not be greater than Rs.$2000$. This isintegrity constraintreferential constraintover-defined constraintfeasible constraint