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
Satish Patel
NA
90
40.5k
Write a sql Query as per given scenarios
Oct 29 2016 9:11 AM
Please help me to write this query. I faced this question in an interview.
tblEmployee
Emp_id
Emp_Name
Emp_Gender
1
John
Male
2
Dean
Male
3
Mary
Female
tblRelatives
Emp_id
Relatives_Id
1
2
1
3
Write a query to get the output given below.
Emp_id
Emp_Name
Father
Morther
1
John
Dean
Mary
Reply
Answers (
4
)
broad forward for getting total till current date
Encrypt password in sqlserver