edited by
1,010 views
3 votes
3 votes

Please explain me the division operation.

Considering the two relations as below,

 $R$

A B C
a1 b1 c1
a2 b1 c2
a1 b2 c2
a2 b2 c2
a1 b3 c3

$S$

A
a1
a2

What will be the result of $R\div S$

edited by

2 Answers

1 votes
1 votes

We define the division operation A/B as the set of all x values  such that for every y value in (a tuple of) B, there is a tuple
<x,y> in A. 

So the relation R/S will contain only <b2,c2>

0 votes
0 votes

plz, refer it. R/S search all the tuples in table R for the table S which contain a1,a2.

Related questions

5 votes
5 votes
4 answers
1
yes asked Dec 16, 2015
2,236 views
Suppose that cardinalities of relations $A$ and $B$ are $m$ and $n$ respectively, then the maximum cardinality of the resultant relation $A \div B$ is ($A$ divides $B$)(A...
2 votes
2 votes
1 answer
2
1 votes
1 votes
2 answers
4
pC asked Sep 18, 2016
737 views
R/S is defined as${\prod }_{R-S} (r) - {\prod }_{R-S} \begin{pmatrix} \left \langle {\prod }_{R-S} (r) \times S \right \rangle - {\prod }_{R-S,S} (r) \end{pmatrix}$Please...