📜  UNION 类型 text 和 bigint 无法匹配 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:52.692000             🧑  作者: Mango

代码示例1
select 
first name,
last name,
address,
quantity
from table1
union all
first name,
last name,
null::int4 as quantity
from table2