Skip to content
Snippets Groups Projects
Commit 4b435f3d authored by daburgas's avatar daburgas
Browse files

create_table_UNIT function fixed. Coma was missing

parent a8e700b3
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ create_table_UNIT <- 'Create Table UNIT AS SELECT u.*,
(CASE WHEN u.Main_sp is 6 THEN 1 ELSE 0 END) as Alnus_DOM,
o.SCAR,
o.PLANTING,
o.SEEDING
o.SEEDING,
u.BM_total*0.5 + (1-u.PEAT)*u.Carbon_soil+sum(ifnull( u.CARBON_STORAGE_Ojanen,0)) OVER (PARTITION BY u.id, b.branching_group ORDER BY u.year)+u.PEAT*300000 as CARBON_STORAGE_Update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment