SQL Query Description Language
5 exercises — practise describing SQL operations in professional English: JOIN narration, window functions, aggregate queries, correlated subqueries, and JOIN type vocabulary.
0 / 5 completed
1 / 5
A developer narrates a query during a code review. Which description is the most professional and technically precise?
SELECT o.order_id, o.total
FROM orders o
JOIN customers c ON o.customer_id = c.id
WHERE c.country = 'DE';Professional SQL narration — vocabulary guide:
Option B uses the precise technical vocabulary expected in code reviews and architecture documents.
Key SQL narration vocabulary:
Option B uses the precise technical vocabulary expected in code reviews and architecture documents.
| Informal phrasing | Professional phrasing |
|---|---|
| "grabs" | "retrieves" / "returns" / "projects" |
| "customer is from Germany" | "filters the result set WHERE country = 'DE'" |
| "JOIN orders to customers" | "performs an INNER JOIN between orders and customers ON the foreign key" |
| "returning order details" | "projects the order_id and total columns" |
Key SQL narration vocabulary:
- Project — select specific columns from the result set (from the SELECT clause)
- Filter — apply a WHERE predicate to reduce the number of rows
- Join condition — the ON clause that defines how rows between tables are matched
- Result set — the table of rows returned by the entire query
- Foreign key — the column in the child table referencing the parent table's primary key