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 / mohammed mujahid

select MAX (EmployeeSalary) from EmployeeDetails where
EmployeeSalary in (select MAX(EmployeeSalary) from
EmployeeDetails)


Here I have changed the table name and column name plz
check it ones with student details

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default constraint?

1001


What is the difference between Stored Procedures and triggers?

1083


Explain syntax for viewing, dropping and disabling triggers?

956


Define synonym?

1179


What is an indice?

1040


What is the difference between clustered and a non-clustered index?

1031


Explain what is it unwise to create wide clustered index keys?

979


How many types of schemas are there?

1043


What program is used to store the data source file?

965


Explain having clause?

972


What is an example of a foreign key?

976


What are the benefits and tasks of object explorer? : sql server management studio

1184


What is user-defined inline table-valued function?

955


How to reaname table name without using sp_Rename in sql server..?

997


Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security

1050