| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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?
| | 3 |
| logshipping is Any difference 2000 and 2005? | | 1 |
| How to find the date and time of last updated table?
| Teledata | 4 |
| Which is best Subquery (or) joins in sql server? explain why | | 2 |
| How will u get 5 years back record? | | 4 |
| UPDATE statement can on a single table or on the multiple
table? | iGate | 5 |
| What are cursors? | | 8 |
| how do u do Performance tunning ?
| Satyam | 1 |
| Difference Between varchar and nvarchar datatype? | Satyam | 2 |
| MULTICAST DELEGATES IN C#.NET WITH REAL TIME EXAMPLE | IBM | 1 |
| How will oyu test the stored procedure taking two parameters
namely first name and last name returning full name? | | 3 |
| What is the basic difference between clustered and a
non-clustered index? | | 3 |
| What is the purpose of using COLLATE in a query? | | 1 |
| is there more the two primary key in a single table? | Systematix | 22 |
| select the 3rd maximum salary from sql server database if 4
(just an example In practically I may not know the exact
situation) of the highest salaries are equal. | | 7 |
| What is the difference between a stored procedure and a user
defined function in sql server? | Millennium | 2 |
| What are the types of indexes available with SQL Server? | | 2 |
| in tabase table having a column in it empname field is
there which having 5 duplicate values is there i want
deleted all the duplicates i want showing only one name
only. | | 7 |
| from the table display the 2nd highest salary?
and also the least 2nd salay?
| | 6 |
| Can you link only other SQL Servers or any database servers
such as Oracle? | | 1 |
| |
| For more SQL Server Interview Questions Click Here |