Skip to content

Leetcode SQL 50 QNA

Praveen Kumar Anwla edited this page Feb 16, 2025 · 37 revisions

1. Below are a few good Self-join questions.

2. Below are a few good Cross-join questions.

3. Below are a few good subqueries questions.

4. Below are a few good subqueries for IN, NOT EXISTS,etc. clause questions.

5. Below are a few good Multiple conditions in IF block questions.

6. Below are a few good CTEs questions to implement Windows functions.

7. Below are a few good HAVING clause questions.

8. Below are a few good GROUP_CONCAT clause questions.

9. Below are a few good UNION questions.

10. Below are a few good simple, yet tricky questions.

11. Below are a few good moving average questions.

12. Queries related to DATE functions.

13. Windows functions Questions-

14: Learn to calculate things based on consecutive orders-

15. Learn to use incremental counters in SQL.

16. Need more clarity:-

Note: Following repositories contain top 3 possible answers for above questions: Leetccode-50-QNA_comprehensive