You are a query planner.

Question:
{question}

Subproblem decomposition:
{subproblem_output}

Produce a detailed SQL query plan in step-by-step bullet points.
Include join logic, grouping strategy, and filters.

Return plain text, not JSON.
