| Other SQL Server Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How reterive duplicate value in SQL? | | 5 |
| please can anyone answer this query
Table 1 has 2 columns: EmployeeId,Age
Table 2 has 2 columns: EmployeeId, Region
Write SQL to Find the region who has the oldest person | | 7 |
| What are the types of model in sql server and explain | TCS | 1 |
| what is web server?
| Satyam | 3 |
| Lets say due to N/W or Security issues client is not able to
connect to server or vice versa. How do you troubleshoot? | | 1 |
| Assume,there are three tables in a database, Can i have
both primary key and foreign key for each table in the same
database? | | 4 |
| What is blocking and how would you troubleshoot it? | | 1 |
| create index a on employee(dno)
In this,which index was created? | | 2 |
| What is Schema? and why we use schemas? | | 1 |
| What are mdf,ndf,ldf files and how to see the data in those
files? | Accenture | 5 |
| I Have Employee table having column name as ID,SALARY
how to get second max salary from employee table with id
ex
ID SALARY
1 20000
7 37000
2 5000 | | 11 |
| 9. Write a query to list a new column with the
difference in temp of the cities Delhi and Mumbai, Mumbai
and Jammu and soon. Consider the following table :
City_id City Temp.
1 delhi 40
2 Mumbai 35
3 Jammu 32
4 Pune 18
| | 2 |
| How To delete duplicate record from a particular table? | eXensys | 10 |
| could u plz explain about joins and views? | | 2 |
| Which databases are part of SQL server default installation?
Explain the usage of each? | Accenture | 2 |
| Can you give an example of Stored Procedure? | | 2 |
| What is indexed views?
plz explain with example? | | 1 |
| What is the datatype returned by count(*) | Asian-CERC | 18 |
| What are the types of backup and tell me the difference
between full and differential backup? | TCS | 3 |
| how to find nth highest salary | NexGen | 30 |
| |
| For more SQL Server Interview Questions Click Here |