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
How to configure and test odbc dsn settings?
Explain what are the database objects? : SQL Server Architecture
What is open database communication (odbc)?
What do you do in data exploration
Explain candidate key, alternate key, and composite key?
How to drop an existing schema in ms sql server?
What is the difference between clustered index and primary key?
What is the latest version of microsoft sql server?
Explain how does the report manager work in ssrs?
What are sql server procedures?
Explain differentiate between a having clause and a where clause?
Write a sql query to sort on different column name according to the parameters passed in the function?
What is tempdb in sql server?
What are different types of table joins?
How to delete existing rows in a table?