Categories / sql
Calculating Current YTD and Prior YTD Revenue for Any Given Month Using SQL
Calculating the Sum of the Digits of a Factorial in SQL and Other Languages
Choosing the Right Column Types and Sizes for Your Table: A Guide to Optimal Database Performance
Selecting Random Rows from Tables with One-to-Many Relationships Using Joins
Working with Union Queries in MSSQL: Exporting a Table to a CSV File
How to Use the LEAD Function in Oracle to Compare Dates
Extracting Data for Last 12 Weeks in Oracle: A Simplified Approach
Using max() Window Function with Case When for Conditional Grouping and Aggregation in SQL
Executing Immediate Update Statements with Oracle EXECUTE: A Guide to Parameterized Queries and Table Name Munging
Understanding Can Saiku Mondrian: A Framework for Querying Transactional Data