Tech Interview RoomStudy guides

Learning path · 29 lessons · 5 topics

🗃️ SQL & Databases interview preparation

SQL, PostgreSQL, MySQL, Oracle and Google Cloud SQL, from joins to replication.

Every backend interview includes data: writing correct SQL, explaining indexes and transactions, and reasoning about how the database behaves under load. Senior roles add replication, failover, partitioning and zero-downtime migrations.

Start with SQL fundamentals (joins, grouping, window functions, indexes, isolation levels), then study the database your target company uses: PostgreSQL, MySQL or Oracle, and Cloud SQL if they run on Google Cloud.

What you will learn

  • Joins, aggregation, window functions and query tuning
  • Indexes, transactions, isolation levels and locking
  • PostgreSQL MVCC, MySQL InnoDB and Oracle architecture
  • Replication, high availability, migrations and Cloud SQL

Topics

Roadmap: beginner to advanced

  1. 1

    Beginner Beginner stage

    Foundations: the concepts every interviewer expects you to explain clearly.

    SQL Fundamentals

    PostgreSQL

    MySQL

    Oracle

    Cloud SQL

  2. 2

    Intermediate Intermediate stage

    Working knowledge: how things behave in real projects and the trade-offs you make.

    SQL Fundamentals

    PostgreSQL

    MySQL

    Oracle

    Cloud SQL

  3. 3

    Advanced Advanced stage

    Senior depth: internals, scale, failure modes and design decisions.

    SQL Fundamentals

    PostgreSQL

    MySQL

    Oracle

    Cloud SQL