It Preparion
It Preparion
Intermediate SQL
11. What are aggregate functions in SQL?
12. How do you write a query to find duplicate records in a table?
13. What is a self-join? When would you use it?
14. Explain the difference between a clustered and non-clustered index.
15. What is a view in SQL, and how is it used?
16. How do you optimize SQL queries for better performance?
17. What is the difference between UNION and UNION ALL?
18. Explain the concept of a stored procedure.
19. What is a trigger in SQL?
20. How do you use window functions in SQL?
Advanced SQL
21. What are Common Table Expressions (CTEs), and when should you use them?
22. How does a transaction work in SQL? Explain ACID properties.
23. What is a cursor in SQL?
24. How do you handle NULL values in SQL queries?
25. Explain the use of the CASE statement in SQL.
26. What are the differences between ROW_NUMBER(), RANK(), and DENSE_RANK()?
27. How do you implement database partitioning?
28. What are the advantages of database sharding?
29. Explain the difference between OLAP and OLTP systems.
30. What is the significance of database schema design?