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

What are the properties of sub-query?

578


How does index makes search faster?

597


How you trouble shoot when any job fails

1504


Differentiate between a primary key and a unique key.

593


What do you understand by triggers and mention the different types of it?

483






Explain difference between control flow and data flow?

529


What is a not null constraint?

594


What are the mathematical functions supported by sql server 2005?

546


What is query optimizer in sql server?

545


What are constraints in microsoft sql server?

559


How to join two tables in a single query in ms sql server?

540


Define compound operators?

533


What is the difference between a unique key and primary key?

515


Mention the different types of triggers?

547


What do you understand by recursive stored procedures?

567