SQL templates
Copy-paste SQL patterns for common table calculations like running totals and rankings
Looking for a simpler alternative to raw SQL? Check out the built-in row functions and pivot functions — they handle common patterns like accessing previous rows and working across pivot columns without needing to write window function SQL.