Skip to content

Extended Intermediate PostgreSQL Exercises with 10 Advanced Scenarios#40

Merged
fahimahammed merged 1 commit intofahimahammed:mainfrom
LetitiaGilbert:add-intermediate-questions
Oct 11, 2025
Merged

Extended Intermediate PostgreSQL Exercises with 10 Advanced Scenarios#40
fahimahammed merged 1 commit intofahimahammed:mainfrom
LetitiaGilbert:add-intermediate-questions

Conversation

@LetitiaGilbert
Copy link
Contributor

📝 Description

This pull request extends the existing intermediate-exercises.md file with 10 new advanced-level exercises.
Each exercise follows the same format — Scenario → Context → Question → Answer → Explanation — to maintain consistency with the current repository style.

The new additions focus on practical, real-world PostgreSQL use cases that build on the intermediate concepts, helping learners explore more advanced query techniques and database features.


🧩 Topics Covered

  • Recursive Common Table Expressions (CTEs)
  • Lateral joins for correlated subqueries
  • Advanced JSONB filtering and nested key extraction
  • Window functions with ranking and partitioning
  • Materialized views and refresh strategies
  • Table partitioning concepts
  • Transaction isolation and concurrency control
  • Array aggregation
  • Full-text search with ranking (ts_rank_cd)
  • Combined multi-feature query scenarios

✅ Purpose

These exercises:

  • Expand the learning depth of the intermediate level
  • Provide practical SQL challenges relevant to real-world PostgreSQL applications
  • Serve as a natural bridge between intermediate and advanced topics

🧠 Notes

All exercises have been written to match the tone, formatting, and structure of the existing materials.
Each query has been tested for syntax accuracy and clarity.

Copy link
Owner

@fahimahammed fahimahammed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@fahimahammed fahimahammed merged commit 6abd3bb into fahimahammed:main Oct 11, 2025
1 check passed
@LetitiaGilbert LetitiaGilbert deleted the add-intermediate-questions branch October 12, 2025 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants