SQL Interview Questions and Answers

1. What is the purpose of the USE command?

2. What is the default order of an ORDER BY clause?

3. What are the logical operators?

4. What does the UPDATE command do?

5. Difference between Truncate and Delete?

SQL Server/RDBMS Interview Questions?


What is normalization?

What is denormalization and when to use it?

Define candidate key and composite key?

Define ACID properties?

Define constraints? What are different types of constraints?

What is a Transaction?

RDBMS Interview Questions and Answers - RDBMS Basics


1. Define Primary Key and Foreign Key?

2. Define Stored Procedure?

3. Define Trigger?

4. Define View? Difference between Table and View?

5. Define Index, type of index and difference between clustered and a non-clustered index?

6. What is cursors?

7. Difference between Function and Stored Procedure?

8. What are the Principles of Relational Databases?