Changes between Version 17 and Version 18 of AdvancedReports


Ignore:
Timestamp:
01/31/22 20:10:01 (3 years ago)
Author:
193288
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v17 v18  
    2828{{{#!sql
    2929select lokacija,
    30 coalesce(date_part('hour',krajno_vreme-pocetno_vreme),'0')*75 as vreme
     30coalesce(sum (date_part('hour',krajno_vreme-pocetno_vreme)),'0')*75 as vreme
    3131from ime_na_parking as inp
    3232left join zona as z on ime_na_parking_id_ime =id_ime
    3333left join parking_mesto as pm on id_zona= idzona
    3434left join rezervacija as rez on rez.broj_na_pmesta=pm.broj_na_pmesta
    35 group by inp.lokacija, rez.krajno_vreme, rez.pocetno_vreme
     35group by inp.lokacija
    3636order by vreme desc limit 1
    3737  }}}