Skip to main content
SQL • LESSON 177

Identify New Records

How can we query only new orders ingested since a specific timestamp boundary?

Advanced3 Minutes1900 XP
🤔 THE QUESTION

How can we query only new orders ingested since a specific timestamp boundary?

💡 WHAT IS IT?

Timestamp filtering on created_at extracts newly inserted batch records from landing tables.

🎯 WHAT IS IT USED FOR?

Batch ETL ingestion, delta loading, micro-batch streaming boundaries.

💻 EXAMPLE
SELECT *
FROM source_orders
WHERE created_at > '2025-01-01';

🎯 Mission Objectives

Practice typing production-grade SQL code for Identify New Records.

  • Timestamp filtering
  • Batch ETL ingestion
  • Landing table query
  • Delta extraction