Wiki Knjižnice Filozofskog Fakulteta u Zagrebu
Podaci o korisnicima i posudbi: Revision 105
Aktivni korisniciAktivni korisnici su one osobe koje su barem jednom u analiziranom razdoblju posudile ili vratile knjigu ili su produžile rok posudbe. mysql> select count(distinct borrowernumber) from statistics ; mysql> select type, count(distinct borrowernumber) from statistics group by type ; Ukupno od otvaranja
Kalendarske godine
Školske godine
Posudbatransakcije: posudba, vraćanje, produljenje roka, korištenje u čitaonici
mysql> select type, count(*) from statistics where borrowernumber is not null and datetime between '2009-03-16' and '2018-09-23' group by type ; mysql> select count(distinct biblionumber) from statistics join items using (itemnumber) where datetime between '2016-01-01' and '2016-12-31' and type = 'issue' ; mysql> select count(distinct itemnumber) from statistics where datetime between '2016-01-01' and '2016-12-31' and type = 'issue' ; Ukupno od otvaranja
Kalendarske godine
Školske godine
mysql> select itemnumber, count(*) from statistics where type = 'issue' and borrowernumber is not null and date(datetime) between '2016-01-01' and '2016-12-31' group by itemnumber ; mysql> select biblionumber, count(*) from statistics join items on items.itemnumber=statistics.itemnumber where type = 'issue' and borrowernumber is not null and date(datetime) between '2016-01-01' and '2016-12-31' group by biblionumber ; |