SQL AND DATABASES FOR TESTERS · REFERENCE CARD

Subqueries and window functions: find the odd row out

Some data checks need a query inside a query, or a running comparison across rows. Learn the two tools that answer questions like latest per user and second highest.

Derived from Subqueries and window functions: find the odd row out. Every claim on this card is sourced on that page. All software testing reference cards.