two tables are there.1st table EMP has two columns ID and name and contains data 1,A
2,B
3,C
2nd table EmpSal has 2 columns ID and Salary
Contains data -1,1000
2,5000
3,3000
Find name of employee having maximum salary ?
Answer Posted / ramnath_445
SELECT name,min(sal) from emp1 inner join empsal where emp1.id=empsal.id
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the importance of three tier architecture?
Are all views updatable ?
How to connect sql server management studio express to sql server 2005 express?
Explain indexing and what are the advantages of it?
How do you run a trace?
You have several tables, and they are joined together for querying. The tables contain both clustered indexes and non clustered indexes to optimize performance, how should you distribute the tables and their indexes onto different file groups?
What is user-defined functions? What are the types of user-defined functions that can be created?
What is a transactions?
What is create statement?
How to modify an existing stored procedure in ms sql server?
What is difference statement and preparedstatement?
What are trace flags and mention a few common trace flags used with sql server?
How to generate create view script on an existing view?
How do I create a stored procedure in dbml?
How do I find query history in sql server?