Vidyalelo
MySQL · Q746

MySQL

Programming · MySQL · question 746

Q746

Which of the following statements is/are correct?

A.
NOT(true AND true) =false
B.
NOT(false AND false)=true
C.
NOT (true AND false)= true
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
This question is about how logical operators work in MySQL. Logical operators are used to combine conditions and determine if a statement is true or false. Here's a breakdown of the options:
Option A: NOT(true AND true) =false
* AND means both conditions need to be true for the entire statement to be true. * true AND true is true. * NOT true is false.
So, Option A is correct.
Option B: NOT(false AND false)=true
* false AND false is false. * NOT false is true.
So, Option B is correct.
Option C: NOT (true AND false)= true
* true AND false is false. * NOT false is true.
So, Option C is correct.
Option D: All of the mentioned
Since all of the above options are correct, Option D is also correct.