Question · SQL and MySQL course · Module 8: Subqueries
Subquery in SELECT
Where - besides WHERE and FROM - can a scalar subquery also be placed?
Answer options
- Only in the table name
- On the column list in the SELECT clause, as a single computed value
- Only in a query comment
- Subqueries can be used only in WHERE
You can check the correct answer by solving this task in the CodeWorlds game.