AiTeky Original Interactive Learning & Practice Intermediate
Two open-source engines side by side: first setup, tables that refuse bad rows and questions across tables
Set up PostgreSQL and MySQL and learn where they really differ, design tables whose types and rules stop bad data at the door, and write the multi-table queries that real, messy data needs without double counting or losing rows.
PostgreSQL and MySQL run a large share of the world's applications. They speak nearly the same SQL, but they differ in ways that matter the day you install them, design a schema or move from one to the other. And most of the trouble in real applications comes from two places: data that should never have been accepted, and queries that look right but count some rows twice or drop others.
This course follows the database work of a clinic-booking start-up. The SQL runs in your browser on SQLite, which shares the core ideas with PostgreSQL and MySQL; where the two differ, the lesson shows their own syntax next to it. Check each product's documentation for exact details. All names and figures are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
Take "PostgreSQL and MySQL in practice" first if tables, keys and basic SQL are new to you.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 30 min 🔒 AiTeky Pass Installing PostgreSQL and MySQL and the differences that matter Start both databases in containers and connect with their own clients, see where their settings and data live, compare the differences that change real decisions (storage layout, defaults, identifiers, auto-increment, upserts, JSON), and measure why a random primary key slows MySQL inserts.
- 02 30 min 🔒 AiTeky Pass Data types, constraints and schema design for real applications Store money, times and statuses in types that cannot drift, add NOT NULL, UNIQUE, CHECK and foreign-key constraints so the database refuses bad bookings itself, prevent double-booking a doctor's slot with one rule, and split repeated data into its own table.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

