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
application server is slow what may be the problem
When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?
What are unicode character string data types in ms sql server?
What is the current pricing model of SQL Azure?
Explain foreign key in sql server?
What is query parameter in ssrs?
Is sql different from sql server?
Explain about SQL server 2005?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
Why do we use non clustered index?
How to enter comments in transact-sql statements?
What is 'Join' and explain its various types.
What can be used instead of trigger?
When to use null data driven subscription?
Is sql server a database?