Skip to content

SQL

67 topics · Stage 1

Complete

Basic17

Advanced27

  • 01SQL Query LifecycleWhat happens between sending a SQL query and receiving its result.6 min
  • 02SQL IndexingHow indexes speed up reads, when they help, and what they cost.6 min
  • 03Filtering Essentials in DetailA deeper pass through BETWEEN, IN, LIKE, NULL, and negated filters.6 min
  • 04Aggregation and Data SummarisationSummarising SQL data with aggregate functions, GROUP BY, and HAVING.9 min
  • 05Common Aggregation MistakesCommon GROUP BY, HAVING, NULL, and aggregate-function mistakes to avoid.4 min
  • 06SQL Utility FunctionsUseful numeric and NULL-handling functions for everyday SQL queries.8 min
  • 07CASE ExpressionsUsing CASE expressions for conditional values, labels, and calculations.19 min
  • 08String FunctionsCommon MySQL string functions for cleaning, matching, and formatting text.17 min
  • 09Editing Data and TablesEdit table data and structure with INSERT, UPDATE, DELETE, ALTER, and TRUNCATE.23 min
  • 10Merging Query ResultsCombine compatible query results with UNION, UNION ALL, and safe intersection patterns.12 min
  • 11Joins Deep DiveUnderstand inner, outer, cross, self, implicit, and natural joins in depth.23 min
  • 12Access ControlManage MySQL users, roles, privileges, grants, revocation, and account access safely.18 min
  • 13Connections and TransactionsUnderstand MySQL connections, transaction control, isolation, locks, and failure handling.15 min
  • 14Mastering SubqueriesUse scalar, row, table, correlated, and nested subqueries with clear execution models.18 min
  • 15Common Table ExpressionsStructure complex queries with non-recursive and recursive common table expressions.19 min
  • 16Working with DatesWork with MySQL dates, timestamps, intervals, extraction, formatting, and comparisons.21 min
  • 17Window FunctionsCalculate rankings, running values, offsets, distributions, and partitions with window functions.58 min
  • 18JSON in SQLStore, query, validate, update, aggregate, index, and upsert JSON data in MySQL.49 min
  • 19Database Design FundamentalsDesign relational schemas with entities, relationships, keys, constraints, and normalization.39 min
  • 20Stored ProceduresCreate, secure, inspect, and execute reusable MySQL stored procedures safely.9 min
  • 21Performance and DebuggingAnalyze MySQL plans, design useful indexes, write sargable predicates, and debug incorrect queries.23 min
  • 22Storage, Keys, Query and PerformanceUnderstand InnoDB pages, clustered keys, buffer pools, redo logs, and B+ tree index costs.54 min
  • 23Scaling, Production and OperationsScale MySQL with replicas, sharding, distributed IDs, online migrations, and data lifecycle practices.52 min
  • 24Isolation Levels and LockingLearn the four read anomalies, the four isolation levels, MVCC, row locks, SKIP LOCKED queues, and optimistic vs pessimistic locking.23 min
  • 25ViewsUse views to hide columns and simplify joins, learn updatable views and WITH CHECK OPTION, and compare views with materialized views.17 min
  • 26TriggersWrite MySQL triggers with NEW and OLD for audit logs, validation, and counters, and learn why many teams avoid them and what to use instead.16 min
  • 27PaginationCompare LIMIT/OFFSET with keyset (cursor) pagination: why deep pages get slow, how rows go missing, the index you need, and cheap total counts.18 min

Revision4

Practice Problems19