Home  >  Article  >  Database  >  What does the MySQL MAKE_SET() function return if all positions in the string are NULL?

What does the MySQL MAKE_SET() function return if all positions in the string are NULL?

WBOY
WBOYforward
2023-08-26 14:57:09915browse

如果字符串所在位置全部为 NULL,MySQL MAKE_SET() 函数会返回什么?

If the string is all NULL, the MySQL MAKE_SET() function will not return anything. The following example will demonstrate it -

Example

mysql> Select MAKE_SET(2, NULL,NULL,NULL);
+-----------------------------+
| MAKE_SET(2, NULL,NULL,NULL) |
+-----------------------------+
|                             |
+-----------------------------+
1 row in set (0.00 sec)

The above is the detailed content of What does the MySQL MAKE_SET() function return if all positions in the string are NULL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete