当前位置:网站首页>The PostgreSQL column reference 'ID' is ambiguous - PostgreSQL column reference'id'is ambiguous
The PostgreSQL column reference 'ID' is ambiguous - PostgreSQL column reference'id'is ambiguous
2022-07-05 23:26:00 【javail】
problem :
I tried the following select: I tried the following options :
SELECT (id,name) FROM v_groups vg inner join people2v_groups p2vg on vg.id = p2vg.v_group_idwhere p2vg.people_id =0;
and I get the following error column reference id
is ambiguous. I get the following error column reference id
Not clear .
Thing is if I try the same SELECT
but I only ask for name
, and not for id
also, it works. The thing is , If I try the same SELECT
But I only ask name
, instead of id
, It can work .I'm new to this and maybe I am missing something obvious. I am very strange to this , Maybe I missed something obvious .Any suggestions? What do you suggest ?
Thanks. thank you .
Solution :
Reference resources : https://stackoom.com/en/question/fCvB边栏推荐
- Hj16 shopping list
- MySQL (1) -- related concepts, SQL classification, and simple operations
- Comparison between webgl and webgpu [3] - vertex buffer
- Registration and skills of hoisting machinery command examination in 2022
- The PNG image is normal when LabVIEW is opened, and the full black image is obtained when Photoshop is opened
- Douban scoring applet Part-2
- 派对的最大快乐值
- VS2010 writes DLL and unit test of dynamic link library, and transfers the correctness of DLL test
- Calculating the number of daffodils in C language
- 【原创】程序员团队管理的核心是什么?
猜你喜欢
Fix the memory structure of JVM in one article
2:第一章:认识JVM规范1:JVM简介;
Practice of concurrent search
动态规划 之 打家劫舍
Brushless drive design -- on MOS drive circuit
Matlab smooth curve connection scatter diagram
开关电源Buck电路CCM及DCM工作模式
2022 G3 boiler water treatment simulation examination and G3 boiler water treatment simulation examination question bank
TVS管和ESD管的技术指标和选型指南-嘉立创推荐
Realize reverse proxy client IP transparent transmission
随机推荐
Southeast Asia e-commerce guide, how do sellers layout the Southeast Asia market?
Thoroughly understand JVM class loading subsystem
2.13 summary
Media query: importing resources
Development specification: interface unified return value format [resend]
14种神笔记方法,只需选择1招,让你的学习和工作效率提高100倍!
Mathematical formula screenshot recognition artifact mathpix unlimited use tutorial
【经典控制理论】自控实验总结
Brushless drive design -- on MOS drive circuit
并查集实践
Use of metadata in golang grpc
数学公式截图识别神器Mathpix无限使用教程
Realize reverse proxy client IP transparent transmission
poj 2762 Going from u to v or from v to u? (infer whether it is a weak link diagram)
二叉树递归套路总结
东南亚电商指南,卖家如何布局东南亚市场?
Marginal probability and conditional probability
Attacking technology Er - Automation
Matlab smooth curve connection scatter diagram
UVA11294-Wedding(2-SAT)