Prepstellar

SQL Fundamentals · Getting started

19 cards

What You Will Learn in This SQL Course

Swipe, scroll or use ← →
  1. What the course assumes, and what it promises

    Knowing where a course starts is what tells you whether you can start it today.

    The introductory PostgreSQL tutorial assumes general computer knowledge but does not require particular Unix or programming experience. This course follows the same entry point: it establishes database and SQL vocabulary before expecting fluency with statements.

    Assumed Not assumed
    You can use a computer and follow written instructions Prior database administration
    You are willing to run statements and read results Unix or programming experience
    You want the reasoning, not only the syntax Knowledge of indexes, concurrency, or query plans
    1 / 19
  2. What the course assumes, and what it promises

    The promise is equally explicit. The official tutorial provides hands-on experience with important aspects of PostgreSQL and explicitly does not attempt a comprehensive treatment, and this course is built the same way.

    That is a feature rather than a limitation. A professional foundation you can actually use beats an exhaustive catalog you will not finish, and the product documentation remains there for the details a specific task needs.

    So do not expect a guarantee that every engine behaves alike, or a path that stops at a single query with no data changes. Expect an applied foundation, built in a workable order.

    2 / 19
  3. Quick check

    How should the scope of this course be understood?

    1. AAs a guarantee that every database engine will behave in exactly the same way

      Engines differ, and the course is explicit that product-specific behavior has to be checked.

    2. BAs an applied foundation rather than exhaustive coverage of every feature

      Right. It offers hands-on experience with important aspects and does not attempt comprehensive treatment.

    3. CAs a path limited to one query, with no data modification of any kind

      Modifying stored data is part of the foundation, so the path does not stop at a single retrieval.

    3 / 19

  4. The first sequence: from a table to an answer

    The learning sequence begins with the relational model and readable SQL. The tutorial path moves from creating a table and populating it with rows to querying, joining, aggregating, updating, and deleting data.

    Step What you gain
    Create a table A place with a defined shape
    Populate it with rows Something real to ask questions about
    Query it The first answers, and the first surprises
    Join tables Answers that no single table could give
    Aggregate Summaries instead of raw rows
    Update and delete Deliberate, controlled change
    4 / 19
  5. The first sequence: from a table to an answer

    Notice what this ordering rules out: you do not begin by tuning parallel plans before knowing what a table contains.

    You will learn not only individual clauses, but how their order and scope affect the result — why a filter placed in one part of a query does not mean the same thing in another. The course then adds reusable query logic, data definition, integrity rules, transactions, and concurrency, so that correct results stay correct as the system grows.

    By the end of the foundations you should be able to shape a request with SELECT, filter and sort its rows, combine tables, summarize groups, and modify stored data deliberately.

    5 / 19
  6. Quick check

    Which sequence follows the introductory tutorial progression?

    1. ATune plans, parallelize them, install software, and only then look at any table

      Tuning comes much later, because it assumes you already know what a table and a query are.

    2. BDelete the data, discard the server, and afterwards define what a row means

      Removing data and servers is not a learning path, and definitions come before deletions.

    3. CCreate a table, populate it with rows, query it, join, aggregate, and then update and delete

      Right. The sequence grows from defining and filling a table through retrieval, combination, summary, and change.

    6 / 19

  7. The advanced stage

    Once basic retrieval is comfortable, the next stage is about dependability and analytical reach rather than new ways to select rows. The advanced tutorial introduces views, foreign keys, transactions, window functions, and inheritance.

    Topic What it adds
    Views A saved query that behaves like a table for the people who read it
    Foreign keys A link between tables that the system keeps honest
    Transactions A group of changes that succeeds or fails as one unit
    Window functions Calculations across related rows without collapsing them into one
    Inheritance A PostgreSQL-specific way of relating table structures

    These topics connect day-to-day queries to database interfaces, integrity, multi-step change, analytical calculation, and PostgreSQL-specific structure.

    7 / 19
  8. Quick check

    Which set of topics belongs to the advanced stage of the tutorial?

    1. AViews, foreign keys, transactions, window functions, and inheritance

      Right. That stage broadens basic querying into interfaces, integrity, multi-step change, analytics, and inheritance.

    2. BClient colors, server icons, screen themes, font catalogs, and page layouts

      Those are appearance settings of a client program, not capabilities of the database system.

    3. COne table name, a fixed row order, and no integrity rules

      Row order is never guaranteed, and integrity rules are exactly what this stage introduces.

    8 / 19

  9. Keep your progress in the app

    That’s 3 of 7 quick checks. In the app they stay answered, and every lesson remembers where you left off.

  10. The deeper language path

    After the tutorial comes the reference-depth path, and it is arranged so a newcomer can read it from start to end. PostgreSQL's SQL documentation progresses through syntax, data definition, data manipulation, queries, data types, functions and operators, and type conversion.

    Stage Question it answers
    Syntax How is a statement written?
    Data definition How is a structure created and changed?
    Data manipulation How are rows inserted, updated, and removed?
    Queries How is a result shaped?
    Data types What kinds of value can be stored?
    Functions and operators What can be computed from those values?
    Type conversion What happens when kinds of value meet?
    9 / 19
  11. The deeper language path

    Only after all of that does the path turn to operational concerns. It then covers indexes, full-text search, concurrency control, performance, and parallel query.

    • Indexes change how quickly the system can find rows.
    • Full-text search handles searching inside text rather than matching whole values.
    • Concurrency control governs what happens when several sessions work at once.
    • Performance brings the evidence, including reading a statement's plan with EXPLAIN.
    • Parallel query uses several workers for one query when the plan allows it.

    This is why later blocks discuss query plans and concurrency only after you can already reason about tables and results.

    10 / 19
  12. Quick check

    What comes after the central syntax and data-operation topics in the deeper documentation path?

    1. AIndexes, text search, concurrency, performance, and parallel query

      Right. Operational reasoning arrives once syntax, definition, manipulation, queries, types, and functions are in place.

    2. BThe removal of tables, clients, data types, and database connections

      Removing things is not a stage of the documentation; the path builds capability rather than dismantling it.

    3. CA guarantee that PostgreSQL extensions work unchanged in every engine

      Extensions are product-specific, so no part of the path can promise identical behavior elsewhere.

    11 / 19

  13. Why the order is not arbitrary

    Each stage is the prerequisite of the next, which is why skipping ahead usually costs time rather than saving it.

    Take a learner who can already retrieve from one table and now needs multi-table analysis with grouped summaries, but is also curious about transaction behavior. Joins and aggregation come first, because they extend retrieval directly; transactions belong to the later advanced stage.

    Take a developer who wants dependable tables now and slow-access diagnosis later. The route is the documented one: study data definition and integrity, build query skill, and only then use indexes and EXPLAIN evidence. Starting with parallel execution while avoiding table definitions leaves nothing for a plan to be a plan of.

    12 / 19
  14. Why the order is not arbitrary

    A useful way to read the whole map:

    If you can already… The next useful step is…
    Query one table Joins and aggregation
    Combine and summarize tables Views, integrity rules, and transactions
    Design dependable structures Indexes and performance evidence
    Read a plan Concurrency and parallel execution

    Nothing here forbids curiosity about later topics. The point is that query plans and locking make sense once tables, results, and integrity are already familiar.

    13 / 19
  15. Quick check

    A learner can retrieve from one table and now needs multi-table analysis with grouped summaries before studying transaction behavior. Which progression fits?

    1. ABegin with parallel-query tuning and postpone joins until after administration

      Tuning assumes queries that already exist, so it cannot come before the ability to write them.

    2. BStudy every product extension exhaustively before combining any table rows

      An exhaustive extension survey delays exactly the skills the learner needs right now.

    3. CLearn joins and aggregation first, and then move on to transactions and their behavior

      Right. Joins and aggregation extend retrieval directly, while transactions belong to the later stage.

    14 / 19

  16. Transferable SQL with the boundary marked

    The last outcome is the one that decides how much of this work you keep. PostgreSQL supports much of the SQL standard but also includes PostgreSQL extensions.

    So you will practise general relational and SQL reasoning while learning to notice where PostgreSQL syntax, types, functions, or behavior are not universal. The goal is not to pretend every database engine is identical; it is to build a model strong enough to transfer, and then verify the dialect-specific details against the relevant product documentation.

    Assuming universality is the failure mode to avoid. Refusing to use a real system is the other one: without running statements, there is nothing to check your reasoning against.

    15 / 19
  17. Transferable SQL with the boundary marked

    A successful outcome is practical. You can:

    • move from a data question to a structured query;
    • explain the shape of the result you get back;
    • modify stored data with appropriate care;
    • design basic integrity and transaction boundaries;
    • use PostgreSQL evidence when examining performance.

    Those capabilities form a base for analytics, application development, and deeper database specialization — and they travel, provided you check the product-specific parts before assuming they do.

    16 / 19
  18. Quick check

    A student wants practical PostgreSQL experience plus concepts useful in another SQL engine, without expecting every feature to be covered. Which outcome matches?

    1. AMaster every single feature before practising, and then assume the second engine behaves identically

      Mastery-before-practice reverses the order, and assuming identical behavior is the exact habit to avoid.

    2. BBuild an applied SQL foundation and verify product-specific features when transferring

      Right. Applied practice plus an explicit dialect check meets the transfer goal without promising exhaustive coverage.

    3. CLearn one client command while avoiding tables, queries, and data changes

      Avoiding tables and queries removes the practical experience the student asked for.

    17 / 19

  19. Key takeaways

    • The path assumes general computer knowledge, not Unix or programming experience, and it starts from vocabulary rather than fluency.
    • You will progress from tables and basic queries to joins, aggregation, reusable logic, integrity, transactions, and performance evidence, in that order because each stage supports the next.
    • The advanced stage adds views, foreign keys, transactions, window functions, and inheritance, and the deeper path ends with indexes, text search, concurrency, performance, and parallel query.
    • You will learn transferable SQL concepts while identifying PostgreSQL-specific extensions, verifying them against product documentation before carrying them elsewhere.
    • The outcome is an applied foundation, not exhaustive coverage of every SQL or PostgreSQL feature.
    18 / 19
  20. Quick check

    Which summary describes what this course is designed to produce?

    1. AAn applied foundation, built in order, with product-specific behavior marked as such

      Right. Ordered progression, practical capability, and an explicit dialect boundary are the three promises made here.

    2. BComplete coverage of every feature, after which all engines can be treated as identical

      Exhaustive coverage is expressly not attempted, and extensions are why engines cannot be treated as identical.

    3. CA tour of client settings, with tables, queries, and integrity rules left for other courses

      Tables, queries, and integrity are the core of the course rather than material left aside.

    19 / 19

  21. 7 quick checks · then the test

    In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.

The whole course, on your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.