Skip to content

Commit

Permalink
fixed data to table 22 for 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t3r67x0 committed May 13, 2024
1 parent 6ace440 commit 9ab40ba
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions data/flensburg_sozialatlas.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1708,10 +1708,10 @@ INSERT INTO basic_benefits_income_by_districts (year, district_id, male, female,
DROP TABLE IF EXISTS debt_counseling_residents;

CREATE TABLE IF NOT EXISTS debt_counseling_residents (
"id" SERIAL,
"year" INT,
"household_type_id" INT,
"residents" INT,
id SERIAL,
year INT,
household_type_id INT,
residents INT,
PRIMARY KEY(id),
FOREIGN KEY(household_type_id) REFERENCES household_type(id)
);
Expand All @@ -1720,13 +1720,19 @@ CREATE INDEX IF NOT EXISTS debt_counseling_residents_year_household_type_id_idx

INSERT INTO debt_counseling_residents (year, household_type_id, residents) VALUES
(2021, 1, 767),
(2022, 1, 386),
(2021, 2, 403),
(2022, 2, 238),
(2021, 3, NULL),
(2022, 3, 4),
(2021, 4, 381),
(2022, 4, 210),
(2021, 5, 350),
(2022, 5, 138),
(2021, 6, 528),
(2021, 7, 60);

(2022, 6, 198),
(2021, 7, 60),
(2022, 7, 61);


/* TABELLE 23 HILFEN ZUR ERZIEHUNG */
Expand Down

0 comments on commit 9ab40ba

Please sign in to comment.