Changes between Version 12 and Version 13 of AdvancedReports
- Timestamp:
- 01/13/22 02:40:54 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v12 v13 3 3 {{{#!sql 4 4 select p.ime as predmet, n.ime as ime_nastavnik, n.prezime as prezime_nastavnik, q3.ucenici as broj_ucenici 5 6 from ( 7 8 select * from(5 from 6 ( 7 select * from 8 ( 9 9 10 10 select broj_ucenici.predmet as predmet, max(broj_ucenici.ucenici) as ucenici … … 21 21 as broj_ucenici 22 22 group by broj_ucenici.predmet 23 23 ) q1 24 24 25 join ( 25 join 26 ( 26 27 select p.id_predmet as predmet2, n.id_nastavnik, count(u.id_ucenik) as ucenici2 27 28 from predmeti p … … 31 32 join ucenici u on u.id_ucenik =pn.id_ucenik 32 33 group by p.id_predmet, n.id_nastavnik 33 34 ) q2 34 35 on q2.predmet2 = q1.predmet and q2.ucenici2 = q1.ucenici 35 36