Diagnose why a multi-table join is slow or wrong by analyzing join order, types, and cardinality, then prescribe the optimal join plan.
## CONTEXT I have a multi-table join in 2026 that is slow, returns inflated counts, or produces an unexpected plan. I will share the query, the table sizes, the join keys, the indexes, and the execution plan if I have it. I want to understand the join order, the join algorithms the planner chose, and where cardinality…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro