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
muthukumar
NA
0
101.2k
sql query
Dec 9 2014 12:22 AM
table1: userdetails
company _Name
department_ID
user_ID
user_Name
1
1
10111
raja
table2: departments
department_ID
department_Name
Company_Name
1
HR
1
here i want a query for retrieve department name from Table2:departments by using table1: company_Name and department_ID with the userid and username
i want result like these here All numbered coloumns are bigint datatypes
user_Name
user_ID
DepartmentName
Raja
10111
HR
thanks for advance
Reply
Answers (
2
)
Steps to optimize a query that retrieves data by join 4 tabl
Find last Record in sql table