I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / naresh
select top 1 age from student where age<(select top 1 age
from student where age<(select distinct max(age) from
student ))
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What does dml stand for?
Explain why variables called the most powerful component of ssis?
List the different types of joins?
If user is owning any SQL Objects, can we drop that user
explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
When cursors are useful?
What happens if null values are involved in datetime operations?
What is the difference between seek predicate and predicate?
How to run queries with sql server management studio express?
How to execute a sql statement using odbc_exec()?
How to verify a user name with sqlcmd tool?
Write a code to select distinct records without using the DISTINCT keyword.
What are the steps to process a single select statement?
What are the 7 disadvantages to a manual system?
What is table value parameters (tvp)?