← 🗄️ Data & SQL EngineeringNEXT IN DATA & SQL ENGINEERINGWindow Functions→
Core
Transactions, ACID, and Isolation Levels
A transaction groups several reads and writes so they either all commit or all roll back, with the ACID guarantees of atomicity, consistency, isolation, and durability. Isolation level is the dial that trades concurrency anomalies (dirty reads, non-repeatable reads, phantoms) against throughput, and most databases default to a weaker level than engineers assume. Applied AI and data interviews probe it because pipelines that ignore isolation produce silent, intermittent corruption that no unit test catches.
a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
Coding & DSAImplement a thread-safe token-bucket rate limiter for concurrent API and tool-calling traffic.→SQL & Data EngineeringImplement Slowly Changing Dimension Type 2 history tracking in a Delta lakehouse.→SQL & Data EngineeringGroup a stream of user events into sessions in SQL (30-minute inactivity gap) using window functions.→Coding & DSAImplement an LRU cache with O(1) get and put, then make it thread-safe with TTL.→SQL & Data EngineeringFind the top-N records per group and a running total per group in SQL.→SQL & Data EngineeringA SQL query is slow. How do you diagnose and optimize it?→
COMPANIES THAT ASSUME THIS
