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 is the difference between openrowset and openquery?

585


Explain the xml support sql server extends?

617


Can two tables share the same primary key?

500


What is primary key index?

534


What is the Main Difference between ACCESS and SQL SERVER?

559






Explain the concept of view and Types of views in SQL server?

615


How many types of attribute relationships are there? : sql server analysis services, ssas

581


Do you know what are the steps to process a single select statement?

530


You want to implement the many-to-many relationship while designing tables. How would you do it?

559


What do you understand by triggers?

519


Write a query to include a constraint, to check whether the employee salary is greater than 5000?

1110


what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?

5495


Can coalesce return null?

543


How to list all triggers in the database with sys.triggers in ms sql server?

536


What are the restrictions that views have to follow?

555