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...

Their are two tables 'A' and'B'.Table 'A' contains 3 columns
named 'eid','ename','dept'.
Table 'B'contains 3 columns
named'sid','designation','salary'.
We have to retrieve the names of employees working in the
same department,same designation and same salary.
Its urgent can anyone help me out in this problem.

Answer Posted / shankaranarayanan v

select eid,ename,dept,desg,salary from a,b
where a.eid=b.sid


(when a.eid=b.sid)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get all stored procedures in sql server?

1001


Explain what is the difference between union and union all?

1012


List some major differences between triggers and stored procedures?

937


What is 1nf 2nf?

1010


Write a program to fetch first 10 records from a file?

1013


how can u get last observation in an unknown dataset ?

2436


What is statement level trigger?

1008


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1103


How do you create an execution plan?

951


Define union, union all, minus, intersect?

982


What are cascading parameters in ssrs reports?

231


Explain candidate key, alternate key, and composite key?

1003


Explain primary key, foreign key and unique key?

994


Can you always create a cache of a report?

172


Why are you getting errors when creating a new odbc dsn?

1225