SQLeasyJoins~12m
A regional bank wants to analyze account activity by branch location
Problem
A regional bank wants to analyze account activity by branch location. Write a query to find all branches along with their total transaction volume (sum of transaction amounts) for the month of January 2024. Include branches that had no transactions during this period, showing them with a transaction volume of 0. Sort results by branch name alphabetically.
Examples
Example 1
Example 2
Constraints
- ›Return branch_name and total_volume columns
- ›Include branches with no January 2024 transactions as 0
- ›Sort by branch name alphabetically
- ›Only consider transactions from January 2024
Reference solution
Reference solution available after you attempt the question.
Ready to solve it?
Start a session on Mockbit #43. Write your SQL, run it against real data, and get graded on correctness, efficiency, query structure, and business understanding.
Related SQL questions
- #41You're analyzing user engagement for a social media platformeasy
- #44A medical clinic wants to identify patients who have been prescribed medications...easy
- #45A mobile gaming company wants to identify the top 3 most active players for each...easy
- #42A video streaming platform tracks user viewing sessionshard
- #46A streaming platform wants to identify content that's experiencing 'viewership...medium
← Back homemockbit.io/q/43