SQL Devs! Will this query return orders that have no refunds at all?

Google for Developers
6,384 views February 9, 2026

Here’s a SQL challenge that shows up in real production code more often than people expect. We’re selecting all orders and optionally joining refund data, but only for refunds over $100. At a glance, the LEFT JOIN makes it feel safe. But the final result doesn’t behave the way you might assume. Will orders with no refunds be returned by this query? Subscribe to Google for Developers → https://goo.gle/developers Speakers: Jasmyne Roberts

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close