I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / rakesh
In Oracle
select marks from
(select marks from
(select marks from students order by marks desc)
where rownum<3
order by marks asc)
where rownum<2
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is raid? : SQL Server Architecture
What is public role in sql server?
What are partitioned views?
What is user defined datatypes and when you should go for them?
What is msdb database? : SQL Server Architecture
What are clustered and non-clustered index?
What is an expression in ms sql server?
What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?
How do I create a trace in sql server?
If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio
What is sql server 2000 work load governor?
What is a partitioned view?
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
Can we use pragma autonomous_transaction in trigger?
What is the use of keyword with encryption. Create a store procedure with encryption?