Skip to content

Commit

Permalink
fixed sql errors (#980)
Browse files Browse the repository at this point in the history
Co-authored-by: Barry Daniels <[email protected]>
  • Loading branch information
barrydaniels-nl and gurustacks authored Mar 11, 2024
1 parent 6dff9d0 commit 092631b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion datasets/dataverkenner/betrokkenbij/dataset.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
create or replace view public.dataverkenner_betrokkenbij_betrokkenbij WITH (security_barrier) as
SELECT
SELECT
kot1.id,
kot1.identificatie,
kot1.volgnummer,
kot1.kadastrale_aanduiding,
Expand Down
3 changes: 2 additions & 1 deletion datasets/dataverkenner/betrokkenbijm/dataset.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CREATE MATERIALIZED VIEW IF NOT EXISTS public.dataverkenner_betrokkenbijm_betrokkenbij as
SELECT
kot1.id,
kot1.identificatie,
kot1.volgnummer,
kot1.kadastrale_aanduiding,
Expand All @@ -14,4 +15,4 @@ LEFT JOIN brk_2_kadastraleobjecten kot2 ON ontstaan_uit.kadastraleobjecten_id
WHERE ontstaan_uit.eind_geldigheid IS NULL
AND kot1.datum_actueel_tot IS NULL
AND kot2.datum_actueel_tot IS NULL
;
WITH NO DATA;
3 changes: 2 additions & 1 deletion datasets/dataverkenner/isontstaanuit/dataset.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
create or replace view public.dataverkenner_isontstaanuit_isontstaanuit WITH (security_barrier) as
SELECT kot.id AS "id",
SELECT
kot.id AS "id",
kot.identificatie AS "identificatie",
kot.neuron_id AS "neuron_id",
kot.volgnummer AS "volgnummer",
Expand Down
3 changes: 2 additions & 1 deletion datasets/dataverkenner/isontstaanuitm/dataset.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CREATE MATERIALIZED VIEW IF NOT EXISTS public.dataverkenner_isontstaanuitm_isontstaanuit AS
SELECT kot.id AS "id",
SELECT
kot.id AS "id",
kot.identificatie AS "identificatie",
kot.neuron_id AS "neuron_id",
kot.volgnummer AS "volgnummer",
Expand Down

0 comments on commit 092631b

Please sign in to comment.