更新时间:2023-02-26 10:07:37
UNION/UNION ALL不会删除其中包含NULL的行.
The UNION/UNION ALL does not remove rows with NULL in them.
UNION
删除重复的行; UNION ALL
不会,并且比UNION
快.
UNION
removes duplicate rows; UNION ALL
does not, and is faster than UNION
for it.
检查您的数据&查询您为什么看不到空值的原因.
Check your data & your query for why NULLs you expect to see are not visible.