How to read 2nd highest sal from EMP table?
Answer Posted / sasikala
select max(salary) from emp where salary<(select max(salary) from emp);
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are the rendering extensions of ssrs?
How is foreign key related to primary key?
What is resultset concur_updatable?
Detail about query optimizer?
When you use @@error and try-catch?
How to get a list of columns using the "sys.columns" view in ms sql server?
As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?
What is a bit datatype?
How to create a view on an existing table in ms sql server?
Do you know how to implement service broker?
What are the tables in sql?
What is the purpose of update statistics and scope_identity() function?
What does this statement do @@rowcount?
How global temporary tables are represented and its scope?
What programming language would you use to create embedded functions in ssrs?