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

defination of testing

4 Answers  


what did your base to your test cases?

9 Answers  


What types of documentation are used in qa?

0 Answers  


what is agile testing when to perform this? have you performed agile testing anytime?please let me know more about this

2 Answers  


how you get build from developer? pl answer it?wht is build ?

4 Answers   Infotech,


10.What is stub?

5 Answers   Hewitt,


what are the microsoft six rules for usability?

4 Answers   AppLabs,


What are the Techniques to be followed while writing the Test Cases?

5 Answers   EDS,


WHAT ARE THE DOCUMENTS NEEDS TO BE SUBMITTED AS A PART OF TEST CLOSURE?

2 Answers   RBS,


What is Regression Testing?

22 Answers   IBM, Sapient, Siemens,


How the Error, Defect and Bug are related to each other ?.

12 Answers   FIC, Vinfotech,


Did you ever worked with BA's?

1 Answers   Standard Bank, Wells Fargo,


Categories