Guides
Clear guides for data and AI careers
SQL and Python interview questions, career roadmaps and plain-English explanations. Each guide links to free practice lessons.
SQL
- SQL window functions explained with examples What SQL window functions do, how OVER, PARTITION BY and ORDER BY work, and the ROW_NUMBER, RANK, LAG and running-total patterns interviewers ask.
- SQL joins explained: INNER, LEFT, RIGHT, FULL and CROSS A clear guide to SQL joins with examples: which rows each join keeps, when to use LEFT JOIN, and the mistakes that duplicate or drop rows.
- WHERE vs HAVING in SQL The difference between WHERE and HAVING, the logical order of a SQL query, and why you cannot use aggregates in WHERE.
- CTE vs subquery in SQL: when to use which Common table expressions (WITH) compared with subqueries: readability, reuse, performance myths and when each is the better choice.
- How to find and remove duplicate rows in SQL Find duplicates with GROUP BY and HAVING, keep one row per key with ROW_NUMBER, and delete the extras safely.
- SQL CASE WHEN: examples for labels, buckets and pivots How to use CASE WHEN in SQL to label rows, create buckets, and build conditional sums, with clear examples.
SQL interview
- Second highest salary in SQL: four ways The classic SQL interview question solved four ways: LIMIT with OFFSET, a subquery, DENSE_RANK and a correlated approach, plus how to handle ties and NULL.
- SQL interview questions for data analysts, with answers Twelve SQL interview questions data analysts get asked, with short answers and the traps behind each one.
Python
- Python generators explained: yield, lazy evaluation and pipelines What Python generators are, how yield works, and why generators save memory when you stream large files or build data pipelines.
- Python dataclasses: records without boilerplate How Python dataclasses work, when to use them instead of dicts or classes, and the field, frozen and default options you will use most.
- Python list vs tuple vs set vs dict: when to use each A practical comparison of Python's four core containers: order, mutability, duplicates and lookup speed, with examples.
- Python try/except best practices How to handle errors in Python properly: catch specific exceptions, use else and finally, and avoid the bare except mistake.
- Python regex for log parsing: a practical guide Use Python's re module to pull timestamps, levels and values out of log lines with named groups, with copy-ready examples.
Python interview
- Python interview questions for data analyst and data engineer roles Common Python interview questions for data roles with short answers: lists vs tuples, generators, dict tricks, error handling, and testing.
Roadmap
- Data engineer roadmap: skills to learn, in order A step-by-step data engineer roadmap: Python, SQL, data modeling, pipelines and orchestration, cloud, and the projects that prove the skills.
- Data analyst roadmap: SQL, Python and dashboards in order A practical data analyst roadmap: spreadsheets, SQL, pandas, statistics, visualisation and the portfolio projects that get interviews.
- AI engineer roadmap: building apps with large language models A roadmap for becoming an AI engineer who builds LLM apps: Python, APIs, prompting, retrieval, evaluation, and safe deployment.
- Machine learning engineer roadmap: from Python to production A step-by-step machine learning engineer roadmap: maths basics, Python, scikit-learn, evaluation, feature engineering, and deployment.
Data engineering
- ETL vs ELT: what is the difference and which should you use? ETL transforms data before loading it; ELT loads first and transforms inside the warehouse. Learn the trade-offs and when each fits.
- Data warehouse vs data lake vs lakehouse A plain-English comparison of data warehouses, data lakes and lakehouses: structure, cost, users and when to use each.
- What is dbt? A beginner's guide to analytics engineering dbt explained for beginners: what it does, models, ref(), tests, incremental models and how it fits into an ELT workflow.
- What is an idempotent data pipeline (and why it matters) Idempotency in data pipelines: why reruns must be safe, and practical patterns such as upserts, partition overwrite and deduplication.
Data modeling
- Star schema vs snowflake schema What star and snowflake schemas are, how facts and dimensions work, and the trade-offs between simplicity and storage.
AI engineering
- What is RAG? Retrieval-augmented generation explained RAG explained simply: how retrieval-augmented generation grounds a language model in your documents, with the steps, trade-offs and common failures.
Data analysis
- pandas vs SQL: which should you use? When to use pandas and when to use SQL for data analysis: data size, where the data lives, readability and common equivalents.
Interview prep
- Data engineering interview: a 30-day preparation plan A four-week plan to prepare for data engineering interviews: SQL, Python, data modeling, pipeline design and mock interviews.