Can you describe a time you used SQL window functions or CTEs to improve query performance at Cloud Big Data Technologies?