Vidyalelo
MySQL · Q96

MySQL

Programming · MySQL · question 96

Q96

The expression 'HI' LIKE NULL results in . . . . . . . .

A.
True
B.
False
C.
NULL
Answer
D.
0

Answer: Option C

Solution

Answer: Option C
Solution:
When comparing a string with NULL using the LIKE operator in MySQL, the result is always NULL, regardless of the string being compared. Therefore, the expression 'HI' LIKE NULL results in Option C: NULL.