SQL queries, joins, keys and database concepts
Learn indexes, EXPLAIN, when to add them, and why over-indexing slows writes.
Learn scalar subqueries, IN, NOT IN, EXISTS, correlated subqueries, and derived tables.
Learn PHP PDO — connecting to MySQL, fetching rows, and preventing SQL injection with prepared statements.
Learn tsvector, tsquery, GIN indexes, ranking, and multi-language search.
Learn EXPLAIN FORMAT=JSON, EXPLAIN ANALYZE, and identifying bottlenecks.
Learn aggregate functions, GROUP BY to group results, and HAVING to filter groups.