Changes between Version 6 and Version 7 of AdvancedReports
- Timestamp:
- 01/10/22 22:53:03 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v6 v7 25 25 == Најпопуларен наставник за секој предмет == 26 26 {{{#!sql 27 select p.ime as predmet, n.ime as nastavnik, count(u.id_ucenik) as max_br27 select p.ime as predmet, n.ime as nastavnik, count(u.id_ucenik) as br_ucenici 28 28 from predmeti p 29 29 join predava_predmet pp on p.id_predmet = pp.id_predmet … … 33 33 where p.id_predmet = 1 34 34 group by p.ime, n.ime 35 order by br_ucenici desc 35 36 limit 1 36 37 }}}