To find second largest salary in Employee table
Answer Posted / anu
Select max(Sal) from emp
Where
Sal
<
(Select max(Sal) from emp);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what are magic tables in sql server?
How to enter binary string literals in ms sql server?
What is difference between standardization and normalization?
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
What is the difference between dataadapter and datareader?
What is tablix?
Explain differentiate between a having clause and a where clause?
How to find table changes in sql server?
What is CTE in SQL
How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?
Explain a checkpoint?
Explain the difference between control flow and data flow?
How to get the number of affected rows?
How many types of triggers in sql server?
What do you understand by the analysis services in sql server?