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 do you mean by a Composite primary key?
On a windows server 2003 active – passive failover cluster, how do you find the node which is active?
What is the main purpose of having conversation group?
What are the indexes in sql server?
what are the disadvantages of cursors? : Sql server database administration
Give an example of SQL injection attack ?
Define Unique Key?
How many databases Microsoft SQL server provides?
What does it mean to normalize a database and why would you do it?
What is sql profiler. What are the default templates with it? : sql server database administration
Explain a checkpoint?
Explain the creation and execution of a user-defined function in the sql server?
What are the different types of collation sensitivity in sql server?
What is compression - row-level and page-level compression?
What is sleeping status in sql server?