Changes between Version 17 and Version 18 of AdvancedReports
- Timestamp:
- 01/31/22 20:10:01 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v17 v18 28 28 {{{#!sql 29 29 select lokacija, 30 coalesce( date_part('hour',krajno_vreme-pocetno_vreme),'0')*75 as vreme30 coalesce(sum (date_part('hour',krajno_vreme-pocetno_vreme)),'0')*75 as vreme 31 31 from ime_na_parking as inp 32 32 left join zona as z on ime_na_parking_id_ime =id_ime 33 33 left join parking_mesto as pm on id_zona= idzona 34 34 left join rezervacija as rez on rez.broj_na_pmesta=pm.broj_na_pmesta 35 group by inp.lokacija , rez.krajno_vreme, rez.pocetno_vreme35 group by inp.lokacija 36 36 order by vreme desc limit 1 37 37 }}}