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 bit datatype and what's the information that can be stored inside a bit column? : Sql server database administration

1045


What is a cube? : sql server analysis services, ssas

1052


What is onf in normalization form?

1111


Explain what is dbcc?

1067


What is a performance monitor?

1021


Write a sql query to get zero records from a table having n number of records?

1231


What is the difference between an index and a unique index?

1044


Where are SQL server users names and passwords are stored in sql server?

1326


How many types of keys are there?

1074


Tell me the use of keyword with encryption. Create a store procedure with encryption?

1057


Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

985


what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

1112


What command do we use to rename a database?

1116


How to create an identity column?

1301


how can you check the level of fragmentation on a table? : Sql server administration

1038