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...

To find second largest salary in Employee table

Answer Posted / satish

select salary from emp_Table_1 where 2= (select count(*)
form emp_Table_2 where emp_Table_2.salary < emp_Table_1.salary)

-satish

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 types of schema?

1178


Other than truncate statement, which other command can by-pass the trigger on the tables?

1193


What is use of except clause?

1143


Do you know what are different types of replication in sql server?

1156


What does dml stand for?

998


How to perform backup for certificates in sql server? : sql server security

1145


Why do we backup Active Directory ?

1100


your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files? : Sql server administration

1049


Why Master database is required?

1189


Explain what is lock escalation and what is its purpose?

986


What is the difference between inner join and equi join?

1044


Can you please differentiate between a primary key and a unique key?

1051


Explain what are the restrictions that views have to follow? : SQL Server Architecture

1102


Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?

960


What is the optimal disk configuration for a database server and what raid configurations would you use if budget is not a constraint?

1032