Logical OR

Logical OR with NULL as operand

Multiple choice question

What will be the output of the following MySQL query (which involve Logical OR with NULL)?

SELECT (1 || NULL) , (0 || NULL) , (NULL || 1) , (NULL || 0) , (NULL || NULL);

Syndicate content