in Databases edited by
2,215 views
3 votes
3 votes

Given relations $\textsf{R(w,x)}$ and $\textsf{S(y,z)},$ the result of

SELECT DISTINCT w, x
FROM R, S

ls guaranteed to be same as $\text{R},$ if

  1. $\textsf{R}$ has no duplicates and $\textsf{S}$ is non-empty
  2. $\textsf{R}$ and $\textsf{S}$ have no duplicates
  3. $\textsf{S}$ has no duplicates and $\textsf{R}$ is non-empty
  4. $\textsf{R}$ and $\textsf{S}$ have the same number of tuples
in Databases edited by
by
2.2k views

2 Comments

option A is correct.
2
2
1
1

1 Answer

0 votes
0 votes
Answer:

Related questions