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 / rias

Select MIN(MARK) from student where mark in (select Top 2
mark from student order by mark desc)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can group by and orderby be used together?

1015


What are cursors and when they are useful?

1089


Explain system views?

1089


What is full outer join in sql server joins?

1068


How connect excel to sql server?

998


What happens when the SQL Azure database reaches Max Size?

111


Are all views updatable ?

1152


What are the benefits of normalization?

1109


What is normalization and its types?

1036


Can primary key be a foreign key?

1058


What is the difference between for xml raw and for xml auto?

1032


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

1081


Distinguish between nested subquery and correlated subquery?

1045


What are the types of resultset?

967


Is foreign key unique?

998