Changes between Version 11 and Version 12 of AdvancedReports


Ignore:
Timestamp:
01/24/22 15:11:36 (3 years ago)
Author:
193076
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v11 v12  
    7272fetch first row only;
    7373}}}
     74
     75== Прикажување колку често корисниците се најавувале во даден временски интервал
     76{{{#!sql
     77select ch.ime,ch.prezime,(count(a.log_id)) as najavuvanja
     78from authentication as a
     79
     80join chovek as ch on a.id_chovek = ch.id_chovek
     81where a.timestamp_log between now() - interval '2 weeks' and now()
     82
     83group by 1,2
     84order by najavuvanja desc
     85}}}