由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Please Help! ORA-00918: column ambiguously defined
相关主题
用SSIS EXPORT 到 EXCEL 2010 有2000个COLUMN,可能吗ORA-1747 error 求助。
To get the 2nd, 3rd, 4th largest valueOracle SQL Tunning Problem!
新手问个简单的SELECT问题小问题
help about SQL for ACCESS新手求教,plsql collection 参数传入问题,非常感谢。
怎么reference temp table的columnhow to do this sql query
SQL combine two tables into one table and add a new columnSSIS package upgrade issue
[转载] what's wrong with this PL/SQLWhat is a relational table?
have a simple question. Please help me!Help on Sql server huge table performance
相关话题的讨论汇总
话题: 00918话题: ora话题: column话题: defined
进入Database版参与讨论
1 (共1页)
cd
发帖数: 32
1
The following code has error as title (ORA-00918: column ambiguously defined
). Can someone tell me why and how to correct it? The # of rows in each
table is t>> m, c, x, s >a >>r, p
Thanks.
c*****d
发帖数: 6045
2
一般情况下
a column name used in a join exists in more than one table and is thus
referenced ambiguously.
我把你的语句重新格式化了一下,我觉得应该是from子句中的那个subquery
SELECT /*+ index(m) index(p) */
t.cs_id,t.t_id,
t.t_sale_amount,
m.ad_amount,
t.user_id,
t.t_mobile_number,
t.ca_care_id,
c.rl_number,
to_char(c.cs_date_of_creation,'mmddyyyyHHMM') cs_date_of_creation,
c.cs_is_void,c.cs_order_id,
s.si_sku,
s.si_unit_price,
s.si_description,
s.si_is_returned,
s.si_quantity,
s.si_returned_restock
1 (共1页)
进入Database版参与讨论
相关主题
Help on Sql server huge table performance怎么reference temp table的column
Rookie's question againSQL combine two tables into one table and add a new column
sql server 面试题 (9)[转载] what's wrong with this PL/SQL
Help! A cluster method in SQLhave a simple question. Please help me!
用SSIS EXPORT 到 EXCEL 2010 有2000个COLUMN,可能吗ORA-1747 error 求助。
To get the 2nd, 3rd, 4th largest valueOracle SQL Tunning Problem!
新手问个简单的SELECT问题小问题
help about SQL for ACCESS新手求教,plsql collection 参数传入问题,非常感谢。
相关话题的讨论汇总
话题: 00918话题: ora话题: column话题: defined