Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    Data: SQL Server and EF Core: back to the track

    Guided course · Data: SQL Server and EF Core

    SQL Query Writing and Dapper for .NET Developers: The Interview Guide

    • Write correct SQL in an interview, then run it from .NET with Dapper.
    • A repeatable method: the result grain, the logical order and small test data.
    • Joins, NULL logic, join traps, GROUP BY and HAVING, subqueries and EXISTS, window functions and dates, each with real result grids.
    • Safe UPDATE, DELETE and upsert.
    • Dapper basics, mapping, multi-mapping, transactions and buffering, and when to choose Dapper or EF Core.
    Intermediate5 modules · 14 lessons · 3 h 35 min · 8 practice tests · 2 free

    Module 1 · Writing Correct Queries

    2 lessons · 31 min
    1. 01How to Write SQL Queries in an Interview: Result Grain, Logical Order and Test DataFree14 min
    2. 02SQL Joins Explained: INNER, LEFT, RIGHT, FULL, CROSS and Self JoinsFree17 min

    Module 2 · Query Traps and Aggregation

    5 lessons · 1 h 19 min
    1. 03NULL in SQL Queries: Three-Valued Logic, NOT IN and Aggregates (included with Full Access), 1 practice test19 min
    2. 04SQL Join Traps: Duplicate Rows, Fan-Out and Filters in ON vs WHERE (included with Full Access), 1 practice test14 min
    3. 05GROUP BY and HAVING: Conditional Aggregation and Pivoting Rows to Columns (included with Full Access)15 min
    4. 06Subqueries, EXISTS and Set Operations: JOIN vs IN vs EXISTS, UNION vs EXCEPT (included with Full Access)15 min
    5. 07Window Functions in Interview Problems: Changes, Sessions, Medians and LAST_VALUE (included with Full Access), 1 practice test16 min

    Module 3 · Dates and Safe Changes

    2 lessons · 30 min
    1. 08Dates and Times in SQL: Month Arithmetic, Durations, Missing Days and Time Zones (included with Full Access), 1 practice test13 min
    2. 09Safe UPDATE, DELETE and Upsert in SQL: Joins, Previews and Non-Deterministic Updates (included with Full Access)17 min

    Module 4 · Dapper

    4 lessons · 1 h
    1. 10Dapper Basics: Query, QuerySingle vs QueryFirst, Execute and Safe Parameters (included with Full Access), 1 practice test15 min
    2. 11Dapper Mapping: Column Names, Records, NULLs, Enums and Type Handlers (included with Full Access)16 min
    3. 12Dapper Multi-Mapping and QueryMultiple: splitOn, One-to-Many and Multiple Results (included with Full Access), 1 practice test15 min
    4. 13Dapper Transactions, Stored Procedures, Async and Buffered vs Unbuffered Reads (included with Full Access), 1 practice test14 min

    Module 5 · Choosing Your Data Access

    1 lesson · 15 min
    1. 14Dapper vs EF Core: When to Choose Each and How to Mix Them Safely (included with Full Access), 1 practice test15 min

    TechInterviewNotes Editorial Team ·