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
What do you understand by a stored procedure?
Explain syntax for viewing, dropping and disabling triggers?
What is the difference between row_number and dense_rank?
What factors you will consider calculating the storage requirement for that view?
How to disable stored procedure sql server?
What is explicit mode in sql server?
How to execute multiple stored procedures at one time in sql server?
What is difference between clustered and non clustered index?
What do you mean by data manipulation language?
Explain the flow of creating a cube? : sql server analysis services, ssas
Write a sql query to delete duplicate records from a table called table1
What the different types of Replication and why are they used?
How to create a large table with random data for index testing in ms sql server?
What is the language structure to add a record to a table?
Hi, I Created 3 Tables Person(PersID[prkey],Name,Email,Password), Project(ProjName,ProjID[prkey],ProjLeader,ProjManager) & ProjectInvolvement(EntryDate,ProjID[frkey],PersID[frkey],ProjDuration). For this how can i INSERT,UPDATE & DELETE Through PROCEDURE? Please Post the Answer for me. Desai.