Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
返回多个同类型数组的交集。
output array_intersect(input0, input1, ...)
mysql> SELECT array_intersect(["SQL", "storage"], ["mysql", "query", "SQL"], ["SQL"]) AS no_intersect ; +--------------+ | no_intersect | +--------------+ | ["SQL"] | +--------------+
mysql> SELECT array_intersect(["SQL", "storage"], ["mysql", null], [null]) AS no_intersect ; +--------------+ | no_intersect | +--------------+ | [] | +--------------+
mysql> SELECT array_intersect(["SQL", null, "storage"], ["mysql", null], [null]) AS no_intersect ; +--------------+ | no_intersect | +--------------+ | [null] | +--------------+