Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Monthly Reporting Package Totals

EasySQL · PostgreSQL00:00
Practice interviewer
In session
5 left
00:00

Your question is Monthly Reporting Package Totals. Start with the requirements and the one table on the right.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.

Problem

Monthly reporting package summary

You are asked to summarize completed financial reporting packages prepared during 2024. Return one row per reporting month with the number of completed packages and the total hours spent preparing them, ordered by month ascending.

Schema

finance_reporting_packages
ColumnTypeDescription
package_idINTUnique package record ID
package_nameVARCHAR(100)Reporting package name
reporting_period_endDATEEnd date of reporting period
package_statusVARCHAR(20)Package status
package_hoursDECIMAL(6,2)Preparation hours
Tablesfinance_reporting_packages
Your solutionPostgreSQL
You need to log in / sign up to run or submit.
Run a query to see results