Courses SQL Talk to databases
Almost every application relies on a relational database. Queries, joins, data modeling, transactions, window functions, then optimization: learn to query and design reliable, fast data.
Start this course in Kodokon Foundations Beginner - the basics, step by step
The relational model: tables, rows, columnsDiscover how a database organizes information into tables, and create your first table in SQLite. SELECT and WHERE: reading and filtering dataLearn to choose columns with SELECT, filter rows with WHERE and search for patterns with LIKE. Sorting and deduplicating: ORDER BY, LIMIT, DISTINCTMaster sorting results with ORDER BY, limiting the number of rows with LIMIT and removing duplicates with DISTINCT. Aggregating: COUNT, SUM, AVG, MIN/MAX and GROUP BYCompute totals, averages and per-group statistics using aggregate functions and GROUP BY. Modifying data: INSERT, UPDATE, DELETEAdd, modify and delete rows safely, avoiding the classic trap of the forgotten WHERE. Progression Intermediate - build real things
Advanced Proficient - advanced patterns and performance
Mastery Expert - architecture, internals and edge cases
EXPLAIN and query plans: read what the database actually doesDecode the plan that the SQLite planner really chooses for your queries with EXPLAIN QUERY PLAN. Advanced indexes: composite, covering, ignored indexMaster the leftmost-prefix rule, covering indexes, and the pitfalls that make an index invisible to the planner. Recursive queries (WITH RECURSIVE): hierarchies and graphsTraverse trees and graphs with WITH RECURSIVE, mastering depth and cycle detection. Concurrency: locks, isolation levels, phantom readsUnderstand SQLite's locking model, its transactions, and the isolation anomalies described by the SQL standard. Security: SQL injection, privileges, prepared statementsReproduce an SQL injection, neutralize it with prepared statements, and apply least privilege.