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 / varunkumar

by using unions we can do it create two tables separetly and
apply union in between two tables .

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

as a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this? : Sql server administration

530


Define compound operators?

529


What is repeatable read?

534


How many levels of sp nesting is possible?

578


What are the database roles? : sql server security

555






What is the user of Primary key?

576


Can sql server be linked with other servers like oracle?

518


What is the architecture of ms sql reporting service?

517


It is important form e to get the information from log files of applications executed by the task scheduler? Does sql studio save these log files? : sql server management studio

547


Do you know what are various aggregate functions that are available?

523


What do I need to start working with sql studio? : sql server management studio

583


Explain user defined functions?

611


What is the difference between grant and with grant while giving permissions to the user?

504


How would you choose between a clustered and a non-clustered index?

540


How to disable triggers using "disable trigger"?

551