Changes between Version 16 and Version 17 of AdvancedReports


Ignore:
Timestamp:
05/04/24 14:33:22 (7 months ago)
Author:
216049
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v16 v17  
    7070  {{{#!sql
    7171
    72 select distinct l.li_id, l.li_ime, count(v.vozenje_id)
     72select distinct l.li_id, l.li_ime, l.li_pravec,  count(v.vozenje_id)
    7373from linija l
    7474left join instancanalinija inl on inl.li_id = l.li_id
    7575left join vozenje v on v.inl_id = inl.inl_id and v.vozenje_start between date_trunc('year', now())
    7676and date_trunc('month', date_trunc('year', now())+ interval '7 months')
    77 group by l.li_id, l.li_ime
     77group by l.li_id, l.li_ime, l.li_pravec
     78order by li_ime
    7879
    7980  }}}