当前位置:网站首页>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边栏推荐
- Detailed explanation of pointer and array written test of C language
- Neural structured learning - Part 3: training with synthesized graphs
- UVA – 11637 Garbage Remembering Exam (组合+可能性)
- 【经典控制理论】自控实验总结
- Negative sampling
- Neural structured learning 4 antagonistic learning for image classification
- 3:第一章:认识JVM规范2:JVM规范,简介;
- (4)UART应用设计及仿真验证2 —— TX模块设计(无状态机)
- Comparison between webgl and webgpu [3] - vertex buffer
- npm ELECTRON_ Mirror is set as domestic source (npmmirror China mirror)
猜你喜欢
Commonly used probability distributions: Bernoulli distribution, binomial distribution, polynomial distribution, Gaussian distribution, exponential distribution, Laplace distribution and Dirac delta d
CIS benchmark tool Kube bench
TypeError: this. getOptions is not a function
Dynamic memory management (malloc/calloc/realloc)
There are 14 God note taking methods. Just choose one move to improve your learning and work efficiency by 100 times!
Initial experience | purchase and activate typora software
2022 R2 mobile pressure vessel filling review simulation examination and R2 mobile pressure vessel filling examination questions
98. Verify the binary search tree ●●
视频标准二三事
CIS基准测试工具kube-bench使用
随机推荐
VS2010 writes DLL and unit test of dynamic link library, and transfers the correctness of DLL test
Southeast Asia e-commerce guide, how do sellers layout the Southeast Asia market?
Idea rundashboard window configuration
Realize reverse proxy client IP transparent transmission
Alibaba Tianchi SQL training camp task4 learning notes
Rethinking about MySQL query optimization
带外和带内的区别
C Primer Plus Chapter 9 question 10 binary conversion
Introduction to JVM
14种神笔记方法,只需选择1招,让你的学习和工作效率提高100倍!
Design and implementation of secsha system
Golang code checking tool
There are 14 God note taking methods. Just choose one move to improve your learning and work efficiency by 100 times!
AsyncSocket长连接棒包装问题解决
(4)UART应用设计及仿真验证2 —— TX模块设计(无状态机)
Common static methods of math class
MySQL (2) -- simple query, conditional query
Selenium+pytest automated test framework practice
Pyqt control part (I)
424. 替换后的最长重复字符 ●●