Most Asked & Important SQL Interview
Questions
1. Difference between DELETE, TRUNCATE, and DROP
2. Difference between DELETE and TRUNCATE
3. Difference between DROP and TRUNCATE
4. What are Aggregate Functions?
5. What are Scalar Functions?
6. What is a User-Defined Function (UDF)?
7. What is OLTP?
8. Difference between OLTP and OLAP
9. What are ACID properties?
10. What is a Stored Procedure?
11. What is a Recursive Stored Procedure?
12. What is Pattern Matching in SQL?
13. What is an Index and how does it improve performance?
14. How do you change the datatype of a column?
15. What is PostgreSQL?
16. What are Partitioned Tables?
17. What is a Sequence in PostgreSQL?
18. What is MVCC?
19. What are Transaction Isolation Levels?
20. Explain Dirty Reads, Non-Repeatable Reads, and Phantom Reads
21. What is WAL (Write Ahead Logging)?
22. Differentiate between COMMIT and CHECKPOINT