Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



He has given table attributes- empid,empfirstname,emplastname,MangerID.And he asked write query to..

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

He has given table attributes- empid,empfirstname,emplastname,MangerID.And he asked write query to..

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

He has given table attributes- empid,empfirstname,emplastname,MangerID.And he asked write query to..

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

Post New Answer

More Manual Testing Interview Questions

What type of risk analysis u did in a banking projects...? Give an example...?

4 Answers   HCL,


What is difference between Regression and Restesting?

13 Answers   Verisoft,


What type of testing process is going on your company ?

2 Answers   Torquent,


i want manual and automation test cases and interview questions

0 Answers   Cambridge,


What are the two ways to create test scripts?

2 Answers  


If we found a bug but that bug is not accepted by developer then what u do.

6 Answers   HP,


What is XML Testing? Do we have any tools to test the XML? Please let me know.

0 Answers  


what are 5 common problems in software development process?

14 Answers  


How does compatibility testing differ while testing in Internet explorer and testing in Firefox?

0 Answers  


Example for a bug not reproducible ?

1 Answers  


system testing or sub system testing ? both are same or different ?

1 Answers   Amdocs,


I would like to know about the steps to follow for testing a .NET web application. Please provide detailed steps with more general scenarios.

3 Answers  


Categories