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?
5 7819Hello all, I have data like :- year amt 2004 10 2005 20 2006 30 Now i want output as:- 2004 2005 2006 10 30 60 but i have to use here group by on year.So, i need a single query within that i can find.
3 5427i have a table student like sname ----- ram ram ram raj raj raj i need the output like sname ----- ram raj ram raj ram raj
IBM,
9 13726What are the advantages of using sql server over ms access or why should one use sql instead of ms access
2 13608How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?
ABC,
2581How To Find That One Week Change in My DataBase we Have Done Like We Have A database Test I Change Table,Stored Procd. Then I Find Which SP,Table We Have Edit/Change in Seven Dayes
1 4334i use few third party softwares. they r all having their own databases . but the data is repeated in all these databases - say a person is in all the three databases, but his name is stoared in diff format in all databases i want to create a centralised database ,and i dont want to re-enter the records . using the exisating records how can i build a centralised database?
1 3023
What is a user-defined function in the sql server and what is its advantage?
Does group by sort data?
What is an indexing strategy?
Define left outer join?
What do you understand by triggers?
What is built-in function?
What is user-defined multi-statement table-valued function?
What are the properties of primary key?
What is the difference between online clustering and Offline clustering?
State the difference between union and union all?
In which tcp/ip port does sql server run? Can it be changed?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
How optimize sql query with multiple joins in sql server?
What is the openxml statement in sql server?
How to make conditional sum in ssrs?