QuestionQ142

VerifiedUsing Subqueries to Solve Queries

The COMMISSION column displays each employee’s monthly commission earned.

Exhibit -

Question Image

Which two tasks require subqueries or joins to be completed in a single step?

Choose two
Explanation

Finding employees with the same commission as employee 3 requires obtaining employee 3’s commission for comparison, using a subquery or self-join. Finding employees whose commission exceeds the company average requires calculating that aggregate value separately and comparing each employee’s commission against it, which requires a subquery.

Community Discussion

No comments yet. Be the first to start the discussion!