SQL for Financial Analysis

1. Which SQL aggregate function is most commonly used to calculate total revenue from a 'sales' table with a 'revenue' column?
2. Which SQL clauses are essential when generating monthly financial reports (e.g., monthly sales totals)?
3. The SQL AVG() function can be used to calculate average monthly expenses by grouping data by month.
4. What SQL clause is used to filter groups of data after using GROUP BY? (one word)
5. Which window function calculates a running total of quarterly sales over a fiscal year?
6. Select all SQL functions that help handle NULL values in financial datasets (e.g., missing expense entries).
7. A RIGHT JOIN in SQL returns all records from the left table, even if there are no matching records in the right table.
8. What SQL function extracts the month from a date column (e.g., 'order_date')? (function name only)
9. Which SQL operator requires both conditions to be true (e.g., 'revenue > 5000' and 'region = 'Europe'')?
10. Which financial metrics can be computed using SQL aggregate functions?
Answered 0 of 0 — 0 correct