Your question is Tune SQL in Data Pipelines. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
You're working on a data pipeline where SQL queries and stored procedures drive ingestion, transformation, or reporting steps. Some jobs are starting to run longer than expected, so you want a clear way to diagnose and improve performance.
How do you approach performance tuning for complex SQL queries and stored procedures?