当前位置:网站首页>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边栏推荐
- 2:第一章:认识JVM规范1:JVM简介;
- 2.13 summary
- Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)
- 无刷驱动设计——浅谈MOS驱动电路
- Expectation, variance and covariance
- Use of shell:for loop
- Basic knowledge of database (interview)
- 派对的最大快乐值
- LeetCode102. Sequence traversal of binary tree (output by layer and unified output)
- What is the process of building a website
猜你喜欢
TVS管和ESD管的技術指標和選型指南-嘉立創推薦
数据库基础知识(面试)
3: Chapter 1: understanding JVM specification 2: JVM specification, introduction;
Technical specifications and model selection guidelines for TVs tubes and ESD tubes - recommended by jialichuang
LabVIEW打开PNG 图像正常而 Photoshop打开得到全黑的图像
Negative sampling
东南亚电商指南,卖家如何布局东南亚市场?
2022 R2 mobile pressure vessel filling review simulation examination and R2 mobile pressure vessel filling examination questions
YML configuration, binding and injection, verification, unit of bean
Registration and skills of hoisting machinery command examination in 2022
随机推荐
[original] what is the core of programmer team management?
开关电源Buck电路CCM及DCM工作模式
Code farmers to improve productivity
LeetCode145. Post order traversal of binary tree (three methods of recursion and iteration)
February 13, 2022-4-symmetric binary tree
Krypton Factor-紫书第七章暴力求解
Week 17 homework
Practice of concurrent search
Non rigid / flexible point cloud ICP registration
Object detection based on impulse neural network
Three. Js-01 getting started
Sum of two numbers, sum of three numbers (sort + double pointer)
并查集实践
Attacking technology Er - Automation
Spécifications techniques et lignes directrices pour la sélection des tubes TVS et ESD - Recommandation de jialichuang
Multi view 3D reconstruction
Media query: importing resources
Solution to the packaging problem of asyncsocket long connecting rod
Use of shell:for loop
Judge whether the binary tree is a complete binary tree