Answers for "mysql, ifnull"

SQL
3

mysql ifnull

##syntax:
SELECT IFNULL(col_with_null_value, default_value);

##you can see the result select with the string NA where the document is null:
SELECT IFNULL(user_document_id, 'NA');
Posted by: Guest on March-17-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language