SQL Fundamentals

SQL Puzzle Interview Wiki

Master the engine behind the data. Go beyond basic queries to understand the mechanics of indexing, query planning, and relational theory, empowering you to design bulletproof schemas and optimize data pipelines that handle massive throughput with uncompromising reliability.

SQL

Window Function

Definition

A class of SQL functions that perform calculations across a set of table rows that are somehow related to the current row, while maintaining the identity of individual rows in the output.

SQL

NOT EXISTS

Definition

A logical operator used in a WHERE clause to check for the non-existence of rows in a subquery. It returns TRUE if the subquery returns no rows, effectively performing an 'Anti-Semi-Join'.

SQL

CTE

Definition

A Common Table Expression (CTE) is a temporary, named result set defined within the execution scope of a single SELECT, INSERT, UPDATE, or DELETE statement, acting as a virtual table.

SQL

Self-Join

Definition

A self-join is a regular join operation where a table is joined with itself, typically by using aliases to distinguish the two instances of the table within the same query.

SQL

Set Operations

Definition
Click to auto-generate concept
SQL

LEAD

Definition
Click to auto-generate concept
SQL

DATEDIFF

Definition
Click to auto-generate concept
SQL

Timestamp Arithmetic

Definition
Click to auto-generate concept
SQL

LAG

Definition
Click to auto-generate concept
SQL

QUALIFY

Definition
Click to auto-generate concept
SQL

Gaps and Islands

Definition
Click to auto-generate concept
SQL

TRUNC

Definition
Click to auto-generate concept
1
Next
The Definitive Standard

The Foundational Knowledge for Real Interviews.

Every concept explained with the depth, trade-offs, and failure modes that differentiate L5 from L6 engineers at Big Tech.

First-Principles Explanations
Real Interview Trade-offs
Six Technical Domains
Continuously Updated
12+ Concepts

Engineered using the same evaluation criteria employed by senior leadership at Google, Meta, and OpenAI.

20+ Concepts

System Design

Master the blueprints of planet-scale infrastructure. From distributed consensus to eventual consistency, learn the architectural patterns that distinguish Staff Engineers and develop the intuition to navigate complex trade-offs where there are no right answers—only better choices.

Algorithms

Coding Puzzle

Elevate your problem-solving from pattern matching to algorithmic mastery. Build a deep mental library of core data structures and advanced techniques, enabling you to decompose complex problems, optimize with surgical precision, and write clean, industrial-grade code under intense scrutiny.

AI Specialization

ML System Design

Bridge the chasm between research models and production systems. Deconstruct end-to-end architectures for recommendation engines and real-time inference, mastering the critical trade-offs in data freshness, latency, and scalability expected at the world's leading AI labs.

Leadership

Behavioral & Leadership

Command the room with high-stakes leadership narratives. Learn to deconstruct your professional journey through the lens of executive-level competencies—conflict resolution, strategic ownership, and technical influence—to demonstrate the maturity and impact required for senior leadership roles.

Data Mastery

SQL Puzzle

Master the engine behind the data. Go beyond basic queries to understand the mechanics of indexing, query planning, and relational theory, empowering you to design bulletproof schemas and optimize data pipelines that handle massive throughput with uncompromising reliability.

Architecture

Frontend System Design

Architect modern web applications that scale with complexity. Dive into the nuances of state management, rendering strategies, and performance optimization, learning how to build resilient frontend systems that deliver premium user experiences across diverse environments and network conditions.

Your Complete Tech Interview Reference

The Knowledge Hub is designed to be your go-to reference — the kind of resource you bookmark and return to again and again. Whether you're brushing up on Kafka's pub-sub internals, revisiting consistent hashing before a system design round, or looking up dynamic programming patterns for a coding interview, every concept is explained with the depth and precision that top-tier interviews demand.

Each article focuses on the why behind a technology — the trade-offs, real-world failure modes, and interview angles that interviewers at Google, Meta, Amazon, and Apple actually probe. This is not a surface-level overview site. It's a reference engineered for engineers.

What Makes a Great Technical Reference?

The best references are flat, fast, and searchable — not structured into rigid beginner-to-advanced hierarchies. System design, ML systems, and algorithms are sibling disciplines, not a linear ladder. You can tackle Kafka and transformers in the same afternoon. Use the search bar and category filters to navigate exactly where you need to go, when you need it.

Interview-Focused Depth

Interviewers rarely ask “define Kafka.” They ask you to design a notification system and justify your messaging choice. Every article covers the trade-offs and failure modes that separate L5 from L6 candidates.

Six Technical Domains

System Design, Coding Algorithms, ML Design, Frontend Architecture, SQL & Databases, and Behavioral frameworks — all in one place. Filter to focus, or search across everything at once.

First-Principles Thinking

Memorizing answers fails in follow-up questions. Every concept is grounded in first principles — understand CAP theorem not as a definition, but as a real constraint you'd navigate in a production incident.

InterviewGPT

AI-powered tools to help you succeed in tech interviews — from resume to offer.

Interview Solver

  • Coding Puzzles
  • System Design
  • Behavioral Challenges
  • ML System Design
  • SQL Puzzles
  • FE System Design

Golden Blogs

  • Coding Solutions
  • System Design Guides
  • Behavioral Guides
  • ML System Design Guides
  • SQL Solutions
  • FE System Design Guides

Intervipedia

  • Coding Concepts
  • System Design Concepts
  • Behavioral Concepts
  • ML System Concepts
  • SQL Concepts
  • FE System Concepts

Application Tools

  • Self-Intro Generator

Company

  • Pricing
  • FAQ
  • About
  • Privacy Policy
  • Terms of Service

© 2026 InterviewGPT Inc. All rights reserved.

All systems operationalUS-East

Made with ♥ for developers