Brainlag
  1. Library
  2. Concepts
  3. SQL

Subqueries

A subquery is a SELECT inside another query. Use one as a single value, as a list for IN, or as a table in FROM, and know when it runs once per row.

SQL10 minPremium

Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.