所以我有这个查询:
select
id,
unnest(suppliers) as suppliercode
from table1 t1
left join table2 t2
on t1.suppliercode = t2.suppliercode
Postgres 无法理解是什么意思:
on t1.suppliercode = t2.suppliercode
t2.suppliercode引起了混乱。为什么?您如何显式调用新的派生列?
所以我有这个查询:
select
id,
unnest(suppliers) as suppliercode
from table1 t1
left join table2 t2
on t1.suppliercode = t2.suppliercode
Postgres 无法理解是什么意思:
on t1.suppliercode = t2.suppliercode
t2.suppliercode引起了混乱。为什么?您如何显式调用新的派生列?