Changes between Version 8 and Version 9 of AdvancedReports


Ignore:
Timestamp:
01/19/22 01:58:35 (3 years ago)
Author:
193060
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v8 v9  
    4545}}}
    4646
     47== Прикажување на најдобро оценетата книга
     48{{{#!sql
     49select k.naslov, avg(ocena) as prosecna_ocena from ocena as o
     50
     51join knigi as k on o.ocena_id_kniga = k.id_na_kniga
     52join pozajmica as p on k.id_na_kniga = p.id_na_kniga
     53
     54group by 1
     55order by prosecna_ocena desc
     56fetch first row only;
     57}}}