Ask Question
26 August, 09:14

Given table R (A, B, C) and S (C, D, E), which of the following SQL statements would find the record (s) with null values on the column C in table R?

a. select * from R, S where R. C = S. C (+); (R left outer join S)

b. select * from R, S where S. C = R. C (+); (R right outer join S)

c. either a. or b.

d. neither a. nor b.

+1
Answers (1)
  1. 26 August, 13:06
    0
    a. select * from R, S where R. C = S. C (+); (R left outer join S)

    Explanation:

    In SQL, left outer join of two tables R and S joined on a common column C means that all rows of R are included in the result including those rows for which value of R. C is null. On the contrary, right outer join of two tables R and S joined on a common column C means that all rows of S are included in the result including those rows for which value of S. C is null. As per the question our requirement is the former. So option a is correct.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given table R (A, B, C) and S (C, D, E), which of the following SQL statements would find the record (s) with null values on the column C ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers