Changes between Version 5 and Version 6 of AdvancedReports
- Timestamp:
- 01/10/22 22:51:52 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v5 v6 24 24 25 25 == Најпопуларен наставник за секој предмет == 26 {{{#!sql 27 select p.ime as predmet, n.ime as nastavnik, count(u.id_ucenik) as max_br 28 from predmeti p 29 join predava_predmet pp on p.id_predmet = pp.id_predmet 30 join nastavnici n on pp.id_nastavnik = n.id_nastavnik 31 join predava_na pn on n.id_nastavnik = pn.id_nastavnik 32 join ucenici u on u.id_ucenik =pn.id_ucenik 33 where p.id_predmet = 1 34 group by p.ime, n.ime 35 limit 1 36 }}} 37 38 39