He has given table attributes-
empid,empfirstname,emplastname,MangerID.And he asked write
query to display empfirstname and mangername?
Answers were Sorted based on User's Feedback
Answer / naveen kamatam
select a.employee_id,a.first_name,a.manager_id,b.first_name
from test a inner join test b
on a.manager_id=b.employee_id order by 1
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nandini p
For that you can use self join.
With in organization you will get manager name and their
mangers name, entire chain if you know the mangerid.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sneha.va
Suppose 2 tables;
Employee : having columns
empid,empfirstname,emplastname,MangerID
Manager : ManagerID, Managername
SELECT A.EMPFIRSTNAME,B.MANAGERNAME FROM EMPLOYEE A INNER
JOIN MANAGER B
ON A.MangerID = B.MangerID
| Is This Answer Correct ? | 3 Yes | 2 No |
waht is the quality in your company?
As experienced what could be the interview questions based on project? It's urgent
6 Answers ABC, P2Softech, Sony,
Give me examples for high priority and low severity defects?
when testing will starts in a project?
can anybody tell me .. in realtime how cookies testing is actually done by the tester? And Test case is needed for cookies testingor not required?
Who will assign the work to Test Engineer?
Hi! I have got an expirence of a year in Software(manual) testing...Kindly let me if there are any openings for the same,location :MUMBAI..i have got a knowledge of C++,sql (basic),java,and have done a automation testing course..
I would like to know about the steps to follow for testing a .NET web application. Please provide detailed steps with more general scenarios.
tell me about ur current project???
Give me few testcases(5) of any application other than login related!
can you tell me types of bug ?
what is the general pattern of explanation of projects in interview, can u ans me plz.......... ex: online banking application