Ir para o conteúdo principal
Academia
Iniciante Distrito do código

SQL

Pergunte qualquer coisa aos seus dados.

SQL is the language of databases. Every post, like and game score in an app like Nova lives in database tables, and SQL is how you ask those tables questions. This track starts from zero: reading tables with SELECT, filtering and sorting, counting and grouping, joining tables, changing data safely, designing your own tables, and finally subqueries, CTEs and window functions.

Every lesson works with the same small dataset from Nova, a made-up social app (users, posts, likes and scores) and shows the exact result of every query, so you always know what answer to expect.

Lições
25
Tempo
3 h
Nível
Iniciante

Por enquanto, as lições desta trilha estão em inglês.

  • Bronze disponível
  • Prata disponível
  • Ouro bloqueada

Hora de provar?

Três exames esperam por você: Bronze, Prata e Ouro.

Ir para os exames

O que você vai saber fazer

  • Read and filter any table with SELECT and WHERE
  • Summarize data with COUNT, SUM, AVG, GROUP BY and HAVING
  • Combine tables with INNER JOIN and LEFT JOIN
  • Insert, update and delete rows safely inside transactions
  • Design tables with keys, constraints and indexes
  • Build a leaderboard with subqueries, CTEs and window functions

A jornada

  1. 1
    Módulo 1

    Databases and tables

    What a relational database is, how tables are built, and your first SELECT.

    0 / 3
  2. 2
    Módulo 2

    Filtering and sorting

    Keep only the rows you want, handle NULL correctly and put results in order.

    0 / 4
  3. 3
    Módulo 3

    Aggregation

    Turn many rows into answers: counts, totals, averages and groups.

    0 / 3
  4. 4
    Módulo 4

    Joins

    Combine tables: match rows, keep the unmatched ones and find what is missing.

    0 / 3
  5. 5
    Módulo 5

    Changing data

    Add, change and remove rows, and use transactions so mistakes can be undone.

    0 / 4
  6. 6
    Módulo 6

    Designing tables

    Create tables with the right types, protect them with constraints and speed them up with indexes.

    0 / 4
  7. 7
    Módulo 7

    Powerful queries

    Subqueries, EXISTS, CTEs, CASE and window functions for real leaderboards.

    0 / 4

Navegação rápida