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
What is dimension table? : sql server analysis services, ssas
List all types of constraints in sql server?
Explain candidate key, alternate key, and composite key?
What is the purpose of forms?
Name few endpoints exposed by ssrs 2012?
what is difference between NULL and ISNULL in SQL Server 2008?
How to convert binary strings into integers in ms sql server?
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
How do you check sql server is up and running?
What is provisioning, billing and metering, and connection routing concepts in the service layer?
How to change the password of a login name in ms sql server?
what is sql server? : Sql server database administration
Define candidate key, alternate key, and composite key.
What is the difference between a fill factor of 100 and 0?