Changes between Version 10 and Version 11 of AdvancedReports
- Timestamp:
- 12/20/22 14:20:16 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v10 v11 12 12 {{{#!div style="font-size: 90%" 13 13 {{{#!sql 14 14 select p.ime as predmet, count(zz.id_ucenik) as broj_na_zainteresirani_ucenici 15 from predmeti p 16 join zainteresiran_za zz 17 on zz.id_predmet = p.id_predmet 18 join ucenici u 19 on u.id_ucenik = zz.id_ucenik 20 where zz.datum between current_date - interval '100 days' and current_date 21 group by p.ime 22 order by count(zz.id_ucenik) desc 23 limit 1; 15 24 }}} 16 25 }}}