我遇到以下JOIN的问题:
SELECT a.id as a_id, b.id as b_id
FROM tables.table_a as a
JOIN tables.table_b as b
ON a.id = b.id
这对我来说似乎很基础,但尽管如此.和b.前缀我收到以下错误消息:
Error: Conflicting names in JOIN output: field id is present in both side of the JOIN.
这种行为是否已知?
最佳答案 我有同样的问题并通过在写入表时检查隐藏选项中的“展平结果”框来解决它.