当前位置:网站首页>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边栏推荐
- 开关电源Buck电路CCM及DCM工作模式
- 派对的最大快乐值
- Spécifications techniques et lignes directrices pour la sélection des tubes TVS et ESD - Recommandation de jialichuang
- Krypton Factor-紫书第七章暴力求解
- Commonly used probability distributions: Bernoulli distribution, binomial distribution, polynomial distribution, Gaussian distribution, exponential distribution, Laplace distribution and Dirac delta d
- Shell: operator
- idea 连接mysql ,直接贴配置文件的url 比较方便
- (4) UART application design and simulation verification 2 - RX module design (stateless machine)
- poj 2762 Going from u to v or from v to u? (infer whether it is a weak link diagram)
- Live tiktok shop 2022 latest gameplay card slot overseas live e-commerce new traffic
猜你喜欢
Southeast Asia e-commerce guide, how do sellers layout the Southeast Asia market?
TVS管和ESD管的技術指標和選型指南-嘉立創推薦
14种神笔记方法,只需选择1招,让你的学习和工作效率提高100倍!
Go language implementation principle -- lock implementation principle
2:第一章:认识JVM规范1:JVM简介;
【原创】程序员团队管理的核心是什么?
并查集实践
Attacking technology Er - Automation
LabVIEW打开PNG 图像正常而 Photoshop打开得到全黑的图像
Commonly used probability distributions: Bernoulli distribution, binomial distribution, polynomial distribution, Gaussian distribution, exponential distribution, Laplace distribution and Dirac delta d
随机推荐
6-axis and 9-axis IMU attitude estimation
C Primer Plus Chapter 9 question 10 binary conversion
Design and implementation of secsha system
开关电源Buck电路CCM及DCM工作模式
LeetCode102. Sequence traversal of binary tree (output by layer and unified output)
VS2010 writes DLL and unit test of dynamic link library, and transfers the correctness of DLL test
3:第一章:认识JVM规范2:JVM规范,简介;
AsyncSocket长连接棒包装问题解决
Creative mode 1 - single case mode
Registration and skills of hoisting machinery command examination in 2022
UVA11294-Wedding(2-SAT)
[Yu Yue education] NC machining technology reference materials of Shaanxi University of science and technology
Dynamic planning: robbing families and houses
regular expression
asp. Net pop-up layer instance
Introduction to JVM
Neural structured learning - Part 2: training with natural graphs
Idea rundashboard window configuration
判断二叉树是否为完全二叉树
poj 2762 Going from u to v or from v to u? (infer whether it is a weak link diagram)