I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / siva prakasam
SELECT TOP (1) stuMark
FROM Student
WHERE stuMark < (SELECT MAX(stuMark) FROM Student)
ORDER BY stuMark DESC
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Explain about system stored procedure?
How can you manage sql azure security?
how to create “alternate row colour”?
How does normalization work?
How can we solve concurrency problems?
What stored procedure would you use to view lock information?
How do we Backup SQL Azure Data?
How many instances per computer are there in sql server 2000?
Write SQL queries on Self Join and Inner Join.
Can you pass expressions to function parameters?
Define self join?
What is a data source or ds? : sql server analysis services, ssas
Can one drop a column from a table?
Explain primary key in sql server?
What is the difference between for xml raw and for xml auto?