UNION操作报ERROR: UNION types integer and text cannot be matched DETAIL:
收藏回复举报
UNION操作报ERROR: UNION types integer and text cannot be matched DETAIL:
t('forum.solved') 已解决
发表于2026-01-02 09:46:45
0 查看
SELECT id FROM users 

UNION ALL 

SELECT name FROM users;

ERROR:  UNION types integer and text cannot be matched 

DETAIL:  The columns of UNION must have compatible data types.

我要发帖子