SQL ServerIntermediate
SQL for Data Engineering: Subqueries and CASE
Classify transactions with CASE and check product reference data with subqueries.

Hi, I'm Javi
I build, learn and share practical solutions across data engineering, Microsoft Fabric, AI and cloud technologies. My goal is to help engineers and organizations turn data into real-world value.
Technology is a
trampoline to create
opportunities for people.
Discover practical guides, tutorials and real-world solutions across data, AI and cloud engineering.
Browse all topicsNew to SQL?
Start with SQL Server Foundations. Learn how to connect with SSMS, find and navigate a database, write your first SELECT query, filter and sort data, work with joins, summarize results, and build the foundation for real-world SQL Server work.
No prior SQL Server experience needed. The path goes one short lesson at a time, and when you are ready it continues into the SQL Server Performance & Tuning guides.
Want the full path beyond SQL? See the Become a Data Engineer roadmap →
Your first three steps
Interview preparation
Practice real interview questions across Microsoft Fabric, SQL Server, Data Engineering, Python and PySpark.
Explore interview questions →Get the Javi Builds updates you actually care about.
I sent you a confirmation link. Your subscription will be active after you confirm it.
Latest updates across Javi Builds
SQL ServerIntermediate
Classify transactions with CASE and check product reference data with subqueries.
SQL ServerIntermediate
Structure a sales transformation as readable, query-scoped steps with CTEs.
SQL ServerIntermediate
Validate source rows, retain rejection reasons, and choose duplicate versions deterministically.
A reusable end-to-end Microsoft Fabric reference implementation: ingestion, Bronze, Silver and Gold layers, serving, Git, CI/CD and observability, built with practical engineering patterns.
Design-complete project for a read-only SQL Server diagnostics tool covering active sessions, blocking, waits and expensive queries. No runnable demo is published yet.
The design of a reference application for safe LLM access to structured enterprise data: approved tools, authorization before data access, validated answers and full observability.