Loading…
Loading…
SQL
A complete SQL course for students and working developers: queries, joins, aggregation, subqueries, window functions, data changes, types and functions, reporting, design, DDL, indexes, security, transactions, procedural SQL, performance and graded exercises. 72 articles with practice quizzes.
Twenty-four questions on how the major SQL databases differ: limiting rows, concatenation, empty strings, identifier case, upserts, identity columns, transactional DDL, error handling, isolation defaults, booleans, set operations, RETURNING, dates and typing.
kvi5hnuCode Sprout team member1 minTwenty-five questions on SQL's subtle corners: NULLs in aggregates, IN and CHECK, sort order of NULLs, rounding, CHAR padding, window frame defaults, identity gaps, LIKE escapes, empty groups, set operations and multi-column updates.
kvi5hnuCode Sprout team member1 minThirty SQL questions of the kind asked in developer and analyst interviews: WHERE vs HAVING, DELETE vs TRUNCATE, keys, joins, duplicates, Nth-highest values, window functions, ACID, isolation, locking, indexes, views, procedures and performance.
kvi5hnuCode Sprout team member1 minThe final exam for the SQL course: thirty questions across all fifteen parts, from query processing, NULLs, joins and aggregation through windows, data changes, types, design, indexes, security, transactions, procedural SQL and tuning.
kvi5hnuCode Sprout team member1 minFifteen questions on reading EXPLAIN and EXPLAIN ANALYZE, costs and row estimates, scan and join methods, statistics and extended statistics, work_mem and sorts, finding slow queries, and the common SQL anti-patterns.
kvi5hnuCode Sprout team member1 minTwenty-five questions on PL/pgSQL blocks, variables, SELECT INTO and loops, error handling and cursors, functions, procedures, volatility and SECURITY DEFINER, triggers, dynamic SQL and large objects, with explanations.
kvi5hnuCode Sprout team member1 minTwenty-five questions on roles and privileges, row-level security, SQL injection and parameters, transactions and savepoints, error handling across databases, MVCC, isolation levels, lost updates, write skew, row locks and deadlocks, with explanations.
kvi5hnuCode Sprout team member1 minThirty questions on entities and relationships, normalization, constraints, ALTER TABLE and foreign key actions, identity columns, sequences and UUIDs, indexes, views, materialized views and metadata queries, with explanations.
kvi5hnuCode Sprout team member1 minTwenty-five questions on pivoting and unpivoting, buckets and percentages, running shares, top-N and extreme values, as-of lookups, hierarchical queries and classic tricky problems such as relational division, with explanations.
kvi5hnuCode Sprout team member2 minThirty questions on data types and casting, string functions, splitting and aggregating text, rounding and statistics, dates, times and time zones, date arithmetic, calendars, regular expressions and JSON, with explanations.
kvi5hnuCode Sprout team member2 minTwenty-four questions on INSERT, UPDATE, DELETE, TRUNCATE, removing duplicates, upserts with ON CONFLICT and ON DUPLICATE KEY UPDATE, MERGE, RETURNING and data-modifying CTEs, with explanations.
kvi5hnuCode Sprout team member2 minTwenty-seven questions on window functions: OVER and PARTITION BY, ROW_NUMBER, RANK, DENSE_RANK and NTILE, top-N per group and ties, frames with ROWS, RANGE and GROUPS, LAG, LEAD, FIRST_VALUE and LAST_VALUE, and gaps-and-islands patterns, with explanations.
kvi5hnuCode Sprout team member2 minTwenty-four questions on scalar, IN, ANY and ALL subqueries, correlated subqueries and name resolution, derived tables, LATERAL joins, common table expressions and their materialization, and recursive CTEs with cycles, with explanations.
kvi5hnuCode Sprout team member2 minTwenty-six questions on COUNT, SUM, AVG, MIN and MAX, NULLs and empty inputs, GROUP BY and HAVING, ROLLUP, CUBE, GROUPING SETS and GROUPING(), and conditional aggregation with CASE and FILTER, with explanations.
kvi5hnuCode Sprout team member2 minTwenty-seven questions on inner, outer, self, cross and non-equi joins, ON versus WHERE, USING, UNION, INTERSECT and EXCEPT, semi-joins and anti-joins with EXISTS and NOT IN, fan-out and comparing tables, with explanations.
kvi5hnuCode Sprout team member2 minThirty questions on tables and keys, SQL statement types and dialects, the logical order of query clauses, SELECT expressions, WHERE, IN, BETWEEN, LIKE, NULL and three-valued logic, ORDER BY, DISTINCT, row limits, pagination and CASE, with explanations.
kvi5hnuCode Sprout team member2 min12 interview-style SQL challenges on the practice shop database, with expected results and explained solutions: second-highest values, pairs, basket analysis, streaks, cohorts, running balances, relational division and data-quality checks.
kvi5hnuCode Sprout team member10 min15 advanced SQL exercises on the practice shop database, with expected results and explained solutions: ranking and top-N per group, running totals, LAG and moving averages, gaps and calendars, recursive hierarchies, pivots and medians.
kvi5hnuCode Sprout team member9 min16 intermediate SQL exercises on the practice shop database, with expected results and explained solutions: multi-table joins, outer joins, avoiding fan-out, correlated subqueries, CTEs, set operations and reporting by month and category.
kvi5hnuCode Sprout team member9 min19 beginner SQL exercises on one practice shop database, each with the expected result, a hint and an explained solution: selecting and filtering, sorting, NULLs, pattern matching, computed columns, CASE, grouping and first joins.
kvi5hnuCode Sprout team member10 min