Hello experts,
I have a query where I need to use multiple CTEs, ( it's a big dataset about 1.9 M records). The query is extremely slow when multiple CTEs are used in JOINs. What can I do for performance tuning? Any help would be greatly appreciated.
Thank you!