【发布时间】:2016-05-06 02:37:53
【问题描述】:
【问题讨论】:
-
到目前为止你尝试过什么? SO 可以帮助您解决错误,但不是代码编写服务。
-
您真的想要在输出中为两个具有相同名称的列分开吗?如果您在两个表中都有一行在 both 这些列中具有相同的值,那么您仍然希望输出中有两行吗?还是一排同时填充了
Steps__c和Name__c?你需要仔细考虑你需要什么,看看你能走多远。 -
表 A 选择 A.INFRASTRUCTURE_CHANGE_ID,B.name__c,b.Support_group from LCL_CRQ_ImplementationPlan_col A 右外连接 LCL_CRQ_ImplementationSect3998 "B" on A.INFRASTRUCTURE_CHANGE_ID=B.Infrastructure_Change_ID 其中 A.INFRASTRUCTURE_CHANGE_ID='CRQ00 Table B select A.INFRASTRUCTURE_CHANGE_ID,B.Steps__c,b.Support_group from LCL_CRQ_ImplementationPlan_col A 右外连接 LCL_CRQ_ImplementationSect4000 "B" on A.INFRASTRUCTURE_CHANGE_ID=B.Infrastructure_Change_ID__c where A.INFRASTRUCTURE_CHANGE_ID='CRQ000001192211';
-
表 A 和表 B 的组合,我试过这个,但它不是我想要的 select * from Table A full external join Table B on ImpAct.INFRASTRUCTURE_CHANGE_ID=Participants.INFRASTRUCTURE_CHANGE_ID where ImpAct.INFRASTRUCTURE_CHANGE_ID=' CRQ000001192211';
-
@Alex:是的,我想要的方式和上图中提到的一样