Question · SQL and MySQL course · Module 8: Subqueries
Scalar subquery
What does a scalar subquery such as (SELECT AVG(cena) FROM ksiazki) return?
Answer options
- All rows of the ksiazki table
- A list of book titles
- The names of all columns of the table
- A single value (one row and one column)
You can check the correct answer by solving this task in the CodeWorlds game.