Ali Mallah logoAli MallahFull‑Stack · Data Science

Ali Mallah

Database roadmap

Database lessons in Iran and for people outside Iran

SQL comes first so queries and JOINs are clear. PostgreSQL puts that SQL on a real database. MongoDB is the document model, for data whose shape is not fixed.

Roadmap

1. SQL

  1. 1. Tables and types

    Columns, keys, and data types.

  2. 2. SELECT

    Choose, filter, and sort rows.

  3. 3. JOIN

    Connect tables without accidental duplicate rows.

  4. 4. Grouping

    COUNT, SUM, and GROUP BY.

  5. 5. Changing data

    INSERT, UPDATE, and DELETE with a condition.

  6. 6. Project

    A set of analysis queries on related tables.

SQL lesson

2. PostgreSQL

  1. 1. Install and connect

    Create a database and open it with a client.

  2. 2. Tables and constraints

    NOT NULL, UNIQUE, and foreign keys.

  3. 3. Practical queries

    Core SQL on PostgreSQL, plus a few useful functions.

  4. 4. Views

    A view for a query you run often.

  5. 5. Roles

    Why the app should not connect as an admin.

  6. 6. Project

    A few tables for a small product.

PostgreSQL lesson

3. MongoDB

  1. 1. Documents and collections

    How a document differs from a relational row.

  2. 2. CRUD

    Insert, read, update, and delete.

  3. 3. Queries

    Filter, sort, and limit results.

  4. 4. Modeling

    What to embed and what to keep separate.

  5. 5. Indexes

    Why a query gets slow, and what an index changes.

  6. 6. Project

    Connect a small app to MongoDB.

MongoDB lesson

Lessons inside Iran

In Iran, database teaching uses real tables and queries, not memorized command names.

Lessons for people outside Iran

If you live outside Iran and want a database teacher based in Iran, we study SQL, PostgreSQL, or MongoDB remotely.

Contact meWhatsApp +989194777597skyai.company@gmail.com