Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have student marks in a student table. I need second
highest mark .Then what will the query for this?

Answer Posted / vikas kant

select Top 1 marks from students where marks in(select Top
2 marks from students order by marks desc)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if you insert a duplicate key for the primary key column in ms sql server?

935


Difference between report and query parameter.

1026


What are the different types of indexes?

1049


The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen? : sql server management studio

955


How can we get count of the number of records in a table?

901


How do I view a trc file?

900


List the different normalization forms?

929


What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?

1082


What are distinctive joins find as a part of sql?

912


Do you know sql server 2008 backup compression?

922


Explain difference between cross join and full outer join?

955


Write a SQL query to make a column as unique?

963


How do I find the query plan in sql server?

909


Explain encryption of entire databases without the need for application changes in sql server 2008?

999


What are the requirements on sql server network connections?

899