AppDbUpdater: Fix v_area_commitment_bucket_strict
This commit is contained in:
@ -498,7 +498,7 @@ namespace Elwig.Helpers {
|
|||||||
ExecuteNonQuery(cnx, "DROP VIEW v_area_commitment_bucket_strict");
|
ExecuteNonQuery(cnx, "DROP VIEW v_area_commitment_bucket_strict");
|
||||||
ExecuteNonQuery(cnx, """
|
ExecuteNonQuery(cnx, """
|
||||||
CREATE VIEW v_area_commitment_bucket_strict AS
|
CREATE VIEW v_area_commitment_bucket_strict AS
|
||||||
SELECT s.year, c.mgnr, c.vtrgid,
|
SELECT s.year, c.mgnr,
|
||||||
t.sortid || COALESCE(a.attrid, '') AS bucket,
|
t.sortid || COALESCE(a.attrid, '') AS bucket,
|
||||||
t.sortid, a.attrid,
|
t.sortid, a.attrid,
|
||||||
SUM(area) AS area,
|
SUM(area) AS area,
|
||||||
|
Reference in New Issue
Block a user