Home » MYSQL » MySQL Type Conversion in Expression Evaluation » Question
  1. The expression ‘HI’ LIKE NULL results in _____________.
    1. 0
    2. NULL
    3. False
    4. True
    5. None of these
Correct Option: B

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.



Your comments will be displayed only after manual approval.