I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / sadaq moulani
select top 1 marks from student where marks in(select
distinct top 2 marks from student order by marks desc)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to create prepared statements using odbc_prepare()?
How to convert a numeric expression from one data type to another?
Explain boyce and codd normal form(bcnf)?
What are the dmvs? : sql server database administration
What is difference between join and natural join?
How to get @@error and @@rowcount at the same time?
How to execute the cursor queries with "open" statements?
How to define the name and server for a new dsn?
How does Report Builder support Analysis Services cubes?
What is a field name?
what type of index will get created after executing the above statement? : Sql server database administration
Tell me can we use custom code in ssrs?
What does dml stand for?
What is full outer join in sql server joins?
Explain the microsoft sql server delete command? : SQL Server Architecture