TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pranjal Mishra
NA
59
47.4k
Getting error: Ambiguous column name 'ecode'
Dec 31 2012 10:33 PM
Select top(20) sno,ecode,name,mobile_no,department,doj,ctc
from charbi..mst_emp_master(nolock)a
inner join charbi..new_emp_salary_master(nolock)b
on a.ecode=b.ecode
where status='Y'
order by doj desc
i m getting error as
Msg 209, Level 16, State 1, Line 1
Ambiguous column name 'ecode'.
pls let me know what im doing wrong.
Reply
Answers (
2
)
Retrieving pictures in bulk using SQL server 2005
How to write a Query for thisScenario in SQL Server???