Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
"column ambiguously defined" ERR in sql Select Query
Posted
Comments
Sanket Saxena 6-May-14 6:31am    
post your query either you have used join and the tables have same column name.

In a join, any column name that occurs in more than one of the tables must be prefixed by its table name when referenced. For example

SQL
SELECT 
    tbl1.id,
    tbl2.column2
FROM tbl1
    INNER JOIN tbl2 ON tbl1.id = tbl2.id2
 
Share this answer
 
-ORA-00918: column ambiguously defined
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900