Code24Lab

Statistics and Histograms: How Estimates Are Made

Lesson 16 of 21 Lab ๐Ÿ”’ Locked

Lessons in this course

  1. ROW_NUMBER, RANK and DENSE_RANKLabFree
  2. Running Totals: ROWS vs the Default RANGE FrameLab Locked
  3. Moving Averages with Sliding FramesLab Locked
  4. LAG and LEAD: Comparing with Neighbour RowsLab Locked
  5. FIRST_VALUE, LAST_VALUE and the Frame TrapLab Locked
  6. NTILE, PERCENT_RANK and CUME_DISTLab Locked
  7. Top-N per Group and Deduplication with a CTELab Locked
  8. Gaps and Islands: Finding StreaksLab Locked
  9. CROSS APPLY and OUTER APPLYLab Locked
  10. PIVOT, UNPIVOT and Conditional AggregationLab Locked
  11. Clustered Indexes: Pages, Levels and SeeksLab Locked
  12. Nonclustered Indexes, Key Lookups and CoveringLab Locked
  13. SARGable Predicates: Seek or Scan?Lab Locked
  14. Reading Execution Plans: Cost and EstimatesLab Locked
  15. Join Operators: Nested Loops, Merge and HashLab Locked
  16. Statistics and Histograms: How Estimates Are MadeLab Locked
  17. Parameter Sniffing and Plan ReuseLab Locked
  18. Isolation Levels: Dirty Reads and PhantomsLab Locked
  19. Locks, Blocking, Escalation and DeadlocksLab Locked
  20. Dynamic SQL Done Safely: sp_executesql and QUOTENAMELab Locked
  21. Final Project: A Window-Function Sales ReportLab Locked