These objects are loaded at the start. Only the query inputs and their required lineage are listed; other tables in a shared seed are not part of this report.
report_periodsOne row represents one supplied reporting month.
| Field / SQL type | Meaning | Rules |
|---|---|---|
period_id · integer | Period record identifier. | Nullable; NULL means the identifier or reference is unrecorded. |
starts_on · date | Inclusive first-of-month calendar date; a calendar-month interval gives the next boundary. | Nullable; NULL means the calendar date is unrecorded. |
No primary or unique key is declared; distinct sample identifiers are not a uniqueness guarantee.
First-of-month values are a fixture convention, not an enforced CHECK.
Build the exclusive end date for each supplied reporting month. report_periods is a separate two-row exercise fixture, not the repair-order snapshot: one row is one reporting month, with integer identifier period_id and date starts_on. Both starts are first-of-month dates; no primary-key constraint is declared in this small fixture.
Write your query in script.sql. Use Run to inspect it, then Submit.
Add INTERVAL '1 month' to the first-of-month date.