Moving forward, you've mentioned working with SQL Server. Could you explain how you optimized complex queries or stored procedures for large datasets, and what performance tuning techniques you applied?