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
What do you mean by an execution plan? How would you view it?
what authentication modes does sql server support? : Sql server database administration
What is collation sensitivity?
How do I create a trace in sql server?
Do you know what are pages and extents? : SQL Server Architecture
Define ACID properties in a Database?
What happens if time-only values are provided as date and time literals?
Explain the architecture of ms sql reporting service?
What does null mean?
What are filegroups in sql server?
Explain filtered indexes benefits?
What is exclusive locks?
What is master database? : SQL Server Architecture
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?