Changes between Version 7 and Version 8 of AdvancedReports


Ignore:
Timestamp:
01/26/23 22:05:52 (17 months ago)
Author:
201060
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v7 v8  
    6464
    6565
    66 == Најиграни квизови
     66== Најиграни квизови во последните 6 месеци
    6767
    6868
     
    7272from quiz q
    7373join attempt a on q.quizid=a.quizid
    74 where a.attemptdate between now() - interval '2 years' and now()
     74where a.attemptdate between now() - interval '6 months' and now()
    7575group by 1
    7676order by count(a.attemptid)
     
    106106
    107107
    108 == Прашања рангирани според бројот на точни одговори
     108== Прашања рангирани според бројот на точни одговори во последната година
    109109
    110110
     
    121121left join selectedchoice s
    122122on s.choiceid = c.choiceid
     123left join question_is_part_of_quiz qipoq
     124on q.questionid=qipoq.questionid
     125left join attempt a on qipoq.quizid=a.quizid
    123126where s.choiceid=c.choiceid and c.iscorrect
     127and a.attemptdate between now() - interval '1 year' and now()
    124128group by 1
    125129order by counter