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 / pravin more

select max(mark) from student where mark <
(select max(mark)from student)

Is This Answer Correct ?    53 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to defragment indexes with alter index ... Reorganize?

1023


We are updating a field in sql and alter the row also.after giving the commit command the system is crashed.what will happen to the commands given,whether it will update and alter the table or not?

1325


How many partitions a clustered index has by default in sql server 2012?

1049


how you can deploy an ssrs report?

172


Which sql server table is used to hold the stored procedure scripts?

1024


Where do we use trace frag?

967


How to create an identity column?

1135


What do you understand by a stored procedure?

1038


What is a rownum?

893


Can we use pragma autonomous_transaction in trigger?

908


What is the chart in report?

142


Is foreign key unique?

953


How many types of built in functions are there in sql server 2012?

871


What are the types of processing and explain each? : sql server analysis services, ssas

1102


How to rename an existing table with the "sp_rename" stored procedure in ms sql server?

958