Question · SQL and MySQL course · Module 8: Subqueries

Correlated subquery

What characterizes a correlated subquery?

Answer options

  • It never uses data from the outer query
  • It references a column from the outer query and runs for each outer row
  • It always returns exactly one row for the whole table
  • It can only appear in the FROM clause

You can check the correct answer by solving this task in the CodeWorlds game.