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 |
What is the purpose of QTP in Manual Testing?
What is QA Release Package ?
What is the major difference between database testing and datwarehouse testing ?
what is mean by object oriented design?how is testing affected by object oriented designs?
What is Buddy Testing?
What particiption a manual tester can do in documentation? Are there any tools available for only documentation?
What is regression testing and what are the types in regression testing?
What are W3C Standards?
If we have no SRS,BRS but we have test cases does u execute the test cases blindly or do u follow any other process|
expalin integration tsting who will perform ths type of testing at what time will do
Hi, Anybody knows about Hexaware company..
what is project and how many types of industry projects are there