Changes between Version 16 and Version 17 of AdvancedReports
- Timestamp:
- 05/04/24 14:33:22 (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v16 v17 70 70 {{{#!sql 71 71 72 select distinct l.li_id, l.li_ime, count(v.vozenje_id)72 select distinct l.li_id, l.li_ime, l.li_pravec, count(v.vozenje_id) 73 73 from linija l 74 74 left join instancanalinija inl on inl.li_id = l.li_id 75 75 left join vozenje v on v.inl_id = inl.inl_id and v.vozenje_start between date_trunc('year', now()) 76 76 and date_trunc('month', date_trunc('year', now())+ interval '7 months') 77 group by l.li_id, l.li_ime 77 group by l.li_id, l.li_ime, l.li_pravec 78 order by li_ime 78 79 79 80 }}}