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

Following are some of the question related to below
mentioned query?

select e1.salary from employee3 e1
where 2=
(
select count(distinct(e2.salary))
from employee3 e2 where e2.salary>=e1.salary
)

1) What the query returns?

2) How it works? - Detail explanation (what the sub query
does, why it is (where 2=)....etc...Please?

Answer Posted / chintan

First of all this query doesn't execute. I tried it on SQL
2005 and kept getting error.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is primary key index?

921


what is a self join? Explain it with an example? : Sql server database administration

885


Distinguish between nested subquery and correlated subquery?

975


What is the sql case statement used for? Explain with an example?

941


What are the system database in sql server 2005?

988


What is use of except clause?

1037


How to create a scrollable cursor with the scroll option?

928


Is a primary key unique?

941


How can you start sql server in different modes?

925


How to create a user to access a database in ms sql server using "create user" statements?

913


What are the different Topologies in which Replication can be configured?

1120


what is normalization? : Sql server database administration

1022


What are the two modes of authentication in sql server?

982


What are the advantages of paper records?

908


What are truncate options available in sql server? : sql server database administration

968