
Ultimate access to all questions.
In the context of a data engineering project, you are tasked with optimizing a complex SQL query that is causing performance issues. The query involves multiple joins and subqueries, and it is executed against a large dataset. What steps would you take to optimize the query and improve its performance?
A
Add more indexes to the tables involved in the query.
B
Rewrite the query to use fewer joins and subqueries.
C
Analyze the query execution plan to identify bottlenecks and optimize the query based on the findings.
D
Increase the hardware resources allocated to the database server.