Examveda
Examveda

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

A. True

B. False

C. NULL

D. 0

Answer: Option C

Solution(By Examveda Team)

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.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous