1.

The expression ‘HI’ LIKE NULL results in _____________(a) True(b) False(c) NULL(d) 0

Answer» Right answer is (c) NULL

The best explanation: In MySQL, any pattern matching that is performed with the ‘NULL’ operand, fails. Expressions like: ‘abcdef’ LIKE NULL, NULL LIKE ‘%’, all result into the value NULL. NULL is not used to perform comparisons.


Discussion

No Comment Found