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

How to test gtalk applicatin,what could be the possible test cases,test plan

2 Answers  


can any help the difference b/w incremental integration testing & integration testing & system & funtional testing

1 Answers  


What is bug life cycle?Explane with example

1 Answers  


what is the diff b/w local and global variable?

1 Answers   Verifone,


What is meant my Firewall testing? how the testing is performed on it?

0 Answers  


What is meant code review?

1 Answers  


what is the need to write testcases??? cant u test ur application with SRS?? y u have to write testcase document??

4 Answers   FIC,


what are the Cs in testing

0 Answers  


what is difference between win 98 and win 2000 poertating system?which is better one?

0 Answers   Verisoft,


what is agile testing

2 Answers  


What is the need of smoke test even when unit test is done by developers?

6 Answers  


what is FAT and SAT tests .?

8 Answers  


Categories