Changes between Version 10 and Version 11 of AdvancedReports


Ignore:
Timestamp:
01/25/22 20:39:10 (3 years ago)
Author:
193288
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v10 v11  
    1111group by k2.korisnicko_ime
    1212order by br desc limit 1
     13
     14select  konstantacija , count( konstantacija) as brpt from kazna as k
     15join kontrola as kk on kk.id_kazna=k.id_kazna
     16group by konstantacija
     17order by brpt desc limit 1
    1318  }}}
    1419
     
    3237== Листа на контролери кои што изрекле најмногу казни
    3338{{{#!sql
    34 select  konstantacija , count( konstantacija) as brpt from kazna as k
    35 join kontrola as kk on kk.id_kazna=k.id_kazna
    36 group by konstantacija
    37 order by brpt desc limit 1
     39select korisnicko_ime,count(korisnicko_ime) as br from kontrola as k2
     40group by k2.korisnicko_ime
     41order by br desc limit 1
     42
    3843  }}}