dbt

dbt

This page contains hands-on dbt (Data Build Tool) tutorials. dbt is a powerful open-source technology that enables teams to transform raw data into valuable insights through SQL-based workflows. Here you will find hands-on tutorials and best practices for using dbt effectively. Our dbt tutorials also serve as a resource for anyone preparing for dbt Analytics Engineering Certification Exam.

54 posts
Making CASE Statements dynamic with Jinja Loops in dbt
Academy Membership dbtData Engineering

Making CASE Statements dynamic with Jinja Loops in dbt

📘Introduction In this hands-on dbt tutorial, you’ll learn how to make your SQL transformations dynamic and reusable by using Jinja loops inside CASE statements. This approach helps you replace repetitive SQL logic with concise, maintainable code — a valuable skill for any Data Engineer. 🎓 Preparing for dbt Analytics Engineering Certification?...

Using For Loops in your dbt models with Jinja
Academy Membership dbtData Engineering

Using For Loops in your dbt models with Jinja

📘Introduction In this hands-on dbt tutorial, you'll learn how to use Jinja for loops inside your dbt models to make your SQL code more dynamic and automated. Instead of manually repeating similar SQL logic for multiple columns, tables, or conditions — you can use for loops with Jinja to...

Overwriting Project Variables at Runtime in dbt
Academy Membership dbtData Engineering

Overwriting Project Variables at Runtime in dbt

📘 Introduction In this hands-on dbt tutorial, you'll learn how to overwrite project variables at runtime — a powerful feature that lets you dynamically change your dbt model behavior without modifying your code or dbt_project.yml. This is especially useful when you need to run the same transformation logic...

How to use variables in your dbt models with Jinja
Academy Membership dbtData Engineering

How to use variables in your dbt models with Jinja

📘 Introduction In this hands-on dbt tutorial, you’ll learn how to use Jinja variables inside your dbt models to make your SQL code more dynamic, flexible, and reusable. Instead of hardcoding values directly into your SQL logic, Jinja allows you to define variables that can be adjusted at runtime or...

Writing Singular Tests in dbt: A Practical Example
Academy Membership dbtData Engineering

Writing Singular Tests in dbt: A Practical Example

📘 Introduction In this hands-on dbt tutorial, you’ll learn step-by-step how to create a singular test to validate custom business rules using SQL. Unlike built-in generic tests (like unique or not_null), singular tests allow you to write fully customizable SQL logic to enforce strict data quality checks. ✅ Prerequisites ☑️ A...

CTEs vs Subqueries in dbt: Why CTEs make your SQL cleaner
Academy Membership dbtData Engineering

CTEs vs Subqueries in dbt: Why CTEs make your SQL cleaner

📘Introduction In this hands-on dbt tutorial, we’ll walk you step-by-step through how to make your SQL cleaner and more maintainable by using CTEs (Common Table Expressions) instead of deeply nested subqueries.  ✅ Prerequisites ☑️ A dbt project set up ☑️ Source data loaded into your data warehouse ☑️ Source configurations defined in sources....

You’ve successfully subscribed to Deep Learning Nerds | The ultimate Learning Platform for AI and Data Science
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.