Which of the following statements is/are correct?
A. True OR true =true
B. True OR false= true
C. False OR false= false
D. All of the mentioned
Answer: Option D
Solution (By Examveda Team)
This question is about logical operators in MySQL.Logical operators are used to combine or modify the results of other conditions (like comparing values). The main operator we're looking at here is OR.
OR means "at least one of these conditions must be true."
Let's break down the options:
Option A: True OR true = true
This is true. Since both sides of the OR are true, the entire statement is true.
Option B: True OR false = true
This is true. Even though one side is false, the other side is true, so the entire statement is true.
Option C: False OR false = false
This is true. Because both sides of the OR are false, the entire statement is false.
Option D: All of the mentioned
Since options A, B, and C are all correct, this option is also correct.
Therefore, the correct answer is Option D: All of the mentioned.

Join The Discussion