ignore file
This commit is contained in:
parent
af0afb44f6
commit
c1957722c2
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
.Rproj.user
|
||||
.Rhistory
|
||||
.RData
|
||||
.Ruserdata
|
||||
simulation/.venv/
|
||||
|
@ -47,7 +47,7 @@ with
|
||||
category = 'Outdoor' and
|
||||
location = 'Outdoor' and
|
||||
extract('hour' from time) = 12 and
|
||||
extract('year' from time) = 2023
|
||||
extract('year' from time) = 2022
|
||||
group by day
|
||||
order by day
|
||||
)
|
||||
@ -71,3 +71,16 @@ select
|
||||
extract('year' from time) = 2023
|
||||
group by day
|
||||
order by day;
|
||||
|
||||
|
||||
-- Tageswert
|
||||
select
|
||||
extract('day' from time)::varchar || '.' || extract('month' from time)::varchar || '.' || extract('year' from time)::varchar as day,
|
||||
avg(temperature)::numeric(10,0) as temperature
|
||||
from room_climate_measurement_t
|
||||
where
|
||||
category = 'Outdoor' and
|
||||
location = 'Outdoor' and
|
||||
extract('hour' from time) = 12 and
|
||||
time::date = now()::date
|
||||
group by day;
|
||||
|
Loading…
x
Reference in New Issue
Block a user